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

From: Date: Sat, 08 May 2010 02:26:36 +0000
Subject: svn: /phpdoc/en/trunk/reference/filesystem/functions/ pathinfo.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6608@lists.php.net to get a copy of this message
philip Sat, 08 May 2010 02:26:36 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=299134 Log: Have example use lib.inc.php instead of index.html to demonstrate multiple . behaviour 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 2010-05-08 01:51:31 UTC (rev 299133) +++ phpdoc/en/trunk/reference/filesystem/functions/pathinfo.xml 2010-05-08 02:26:36 UTC (rev 299134) @@ -94,7 +94,7 @@ <programlisting role="php"> <![CDATA[ <?php -$path_parts = pathinfo('/www/htdocs/index.html'); +$path_parts = pathinfo('/www/htdocs/inc/lib.inc.php'); echo $path_parts['dirname'], "\n"; echo $path_parts['basename'], "\n"; @@ -106,10 +106,10 @@ &example.outputs; <screen> <![CDATA[ -/www/htdocs -index.html -html -index +/www/htdocs/inc +lib.inc.php +php +lib.inc ]]> </screen> </example>

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