[PHP-DOC] #38187 [Opn->Csd]: Example update for pathinfo()
ID: 38187 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Gentoo PHP Version: Irrelevant New Comment: patch applied, thanks. Previous Comments: [2006-07-22 12:19:31] [EMAIL PROTECTED] Description: The new constant PATHINFO_FILENAME was already added to the pathinfo() docs, but the example was not updated, yet. Index: en/reference/filesystem/functions/pathinfo.xml === RCS file: /repository/phpdoc/en/reference/filesystem/functions/pathinfo.xml,v retrieving revision 1.11 diff -u -p -d -r1.11 pathinfo.xml --- en/reference/filesystem/functions/pathinfo.xml 17 Jul 2006 10:50:14 - 1.11 +++ en/reference/filesystem/functions/pathinfo.xml 22 Jul 2006 12:18:17 - @@ -41,6 +41,7 @@ $path_parts = pathinfo('/www/htdocs/inde echo $path_parts['dirname'], "\n"; echo $path_parts['basename'], "\n"; echo $path_parts['extension'], "\n"; +echo $path_parts['filename'], "\n"; // since 5.2.0 ?> ]]> @@ -52,6 +53,7 @@ echo $path_parts['extension'], "\n"; /www/htdocs index.html html +index ]]> -- Edit this bug report at http://bugs.php.net/?id=38187&edit=1
[PHP-DOC] cvs: phpdoc /en/reference/filesystem/functions pathinfo.xml
nlopess Sat Jul 22 15:32:38 2006 UTC Modified files: /phpdoc/en/reference/filesystem/functions pathinfo.xml Log: enhance example (#38187) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/pathinfo.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc/en/reference/filesystem/functions/pathinfo.xml diff -u phpdoc/en/reference/filesystem/functions/pathinfo.xml:1.11 phpdoc/en/reference/filesystem/functions/pathinfo.xml:1.12 --- phpdoc/en/reference/filesystem/functions/pathinfo.xml:1.11 Mon Jul 17 10:50:14 2006 +++ phpdoc/en/reference/filesystem/functions/pathinfo.xml Sat Jul 22 15:32:38 2006 @@ -1,5 +1,5 @@ - + @@ -41,6 +41,7 @@ echo $path_parts['dirname'], "\n"; echo $path_parts['basename'], "\n"; echo $path_parts['extension'], "\n"; +echo $path_parts['filename'], "\n"; // since PHP 5.2.0 ?> ]]> @@ -52,6 +53,7 @@ /www/htdocs index.html html +index ]]>
[PHP-DOC] #38187 [NEW]: Example update for pathinfo()
From: [EMAIL PROTECTED] Operating system: Gentoo PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Example update for pathinfo() Description: The new constant PATHINFO_FILENAME was already added to the pathinfo() docs, but the example was not updated, yet. Index: en/reference/filesystem/functions/pathinfo.xml === RCS file: /repository/phpdoc/en/reference/filesystem/functions/pathinfo.xml,v retrieving revision 1.11 diff -u -p -d -r1.11 pathinfo.xml --- en/reference/filesystem/functions/pathinfo.xml 17 Jul 2006 10:50:14 - 1.11 +++ en/reference/filesystem/functions/pathinfo.xml 22 Jul 2006 12:18:17 - @@ -41,6 +41,7 @@ $path_parts = pathinfo('/www/htdocs/inde echo $path_parts['dirname'], "\n"; echo $path_parts['basename'], "\n"; echo $path_parts['extension'], "\n"; +echo $path_parts['filename'], "\n"; // since 5.2.0 ?> ]]> @@ -52,6 +53,7 @@ echo $path_parts['extension'], "\n"; /www/htdocs index.html html +index ]]> -- Edit bug report at http://bugs.php.net/?id=38187&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38187&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38187&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38187&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38187&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38187&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38187&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=38187&r=needscript Try newer version:http://bugs.php.net/fix.php?id=38187&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38187&r=support Expected behavior:http://bugs.php.net/fix.php?id=38187&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38187&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38187&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38187&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38187&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38187&r=dst IIS Stability:http://bugs.php.net/fix.php?id=38187&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38187&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38187&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38187&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=38187&r=mysqlcfg
[PHP-DOC] xmlproto chokes on "static type function" proto
Hi, I noticed that the xmlproto script chokes on method protos like the following: /* {{{ proto static bool HttpResponse::send([bool clean_ob=true]) */ For every discovered proto it will generate a .xml file, in this case bool.xml Regards, -- Michael