[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-doc-cvs
Subject:    [DOC-CVS] Re: svn: /phpdoc/en/trunk/reference/filesystem/functions/ realpath.xml
From:       Maciek Sokolewicz <maciek.sokolewicz () gmail ! com>
Date:       2015-04-27 16:17:21
Message-ID: 553E6111.8080106 () php ! net
[Download RAW message or body]

On 27-4-2015 6:58, Maciej Sobaczewski wrote:
> sobak                                    Mon, 27 Apr 2015 04:58:17 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=336672
>
> Log:
> Apply patch by Christoph Michael Becker (closes bug #64927)
>
> Bug: https://bugs.php.net/64927 (Verified) realpath() still returns current path on Null/false argument
>
> Changed paths:
>      U   phpdoc/en/trunk/reference/filesystem/functions/realpath.xml
>
> Modified: phpdoc/en/trunk/reference/filesystem/functions/realpath.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/filesystem/functions/realpath.xml	2015-04-26 21:49:24 UTC (rev 336671)
> +++ phpdoc/en/trunk/reference/filesystem/functions/realpath.xml	2015-04-27 04:58:17 UTC (rev 336672)
> @@ -82,6 +82,13 @@
>           *BSD systems. <function>realpath</function> now fails in this case.
>          </entry>
>         </row>
> +      <row>
> +       <entry>5.2.1</entry>
> +       <entry>
> +        Prior to this version, <function>realpath</function> returned &false;
> +        if <parameter>path</parameter> is an empty string or &null;.

Might want to change this to "was" instead of "is" to be consistent with 
"returned". I personally would have turned the whole thing around and 
just said "as of this version, realpath no longer returns &false; if 
path is an empty string or &null;"
However, I am wondering what is *does* return in that case... you might 
want to add that piece of information here too.

> +       </entry>
> +      </row>
>        </tbody>
>       </tgroup>
>      </informaltable>
>


---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com


-- 
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic