svn: /phpdoc/en/trunk/reference/filesystem/functions/ pathinfo.xml

From: Date: Tue, 06 Dec 2011 00:53:51 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ pathinfo.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9166@lists.php.net to get a copy of this message
frozenfire Tue, 06 Dec 2011 00:53:51 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=320471 Log: Clarified empty/no extension example. Closes bug #60325. Bug: https://bugs.php.net/60325 (Open) misleading wording in example Changed paths: U phpdoc/en/trunk/reference/filesystem/functions/pathinfo.xml Modified: phpdoc/en/trunk/reference/filesystem/functions/pathinfo.xml =================================================================== --- phpdoc/en/trunk/reference/filesystem/functions/pathinfo.xml 2011-12-06 00:46:15 UTC (rev 320470) +++ phpdoc/en/trunk/reference/filesystem/functions/pathinfo.xml 2011-12-06 00:53:51 UTC (rev 320471) @@ -131,7 +131,7 @@ <programlisting role="php"> <![CDATA[ <?php -$path_parts = pathinfo('/path/nullextension.'); +$path_parts = pathinfo('/path/emptyextension.'); var_dump($path_parts['extension']); $path_parts = pathinfo('/path/noextension'); @@ -143,8 +143,10 @@ <screen> <![CDATA[ string(0) "" +PHP Notice: Undefined index: extension in test.php on line 6 -Notice: Undefined index: extension in /test.php on line 6 +Notice: Undefined index: extension in test.php on line 6 +NULL ]]> </screen> </example>

« previous php.doc.cvs (#9166) next »