Doc #54768 [NEW]: Bad function prototype var_dump()

From: Date: Tue, 17 May 2011 08:39:12 +0000
Subject: Doc #54768 [NEW]: Bad function prototype var_dump()
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6431@lists.php.net to get a copy of this message
From: Operating system: PHP version: Irrelevant Package: Documentation problem Bug Type: Documentation Problem Bug description:Bad function prototype var_dump() Description: ------------ --- From manual page: http://www.php.net/function.var-dump#Description --- I think prototype of this variable-length argument list function is badly written. If you look at similar functions, you will see extra parameters written like this : array list ( mixed $varname [, mixed $... ] ) so I think prototype of var_dump should become void var_dump ( mixed $expression [, mixed $... ] ) Regards, Geoffray Expected result: ---------------- void var_dump ( mixed $expression [, mixed $... ] ) Actual result: -------------- void var_dump ( mixed $expression [, mixed $expression [, $... ]] ) -- Edit bug report at http://bugs.php.net/bug.php?id=54768&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54768&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54768&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54768&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54768&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54768&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54768&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54768&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54768&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54768&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54768&r=support Expected behavior: http://bugs.php.net/fix.php?id=54768&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54768&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54768&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54768&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54768&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54768&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54768&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54768&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54768&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54768&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54768&r=mysqlcfg

« previous php.doc.bugs (#6431) next »