#46598 [NEW]: minor mistake in docs

From: Date: Mon, 17 Nov 2008 23:52:53 +0000
Subject: #46598 [NEW]: minor mistake in docs
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-1510@lists.php.net to get a copy of this message
From: ben at nullcreations dot net Operating system: n/a PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: minor mistake in docs Description: ------------ on http://php.net/manual/en/overload.examples.php - Example #1 incorrectly uses the __get() method with 2 parameters (the example will error if executed) Reproduce code: --------------- running the example on the listed page will reproduce this result. Expected result: ---------------- Code should produce output as described on the page. Actual result: -------------- Fatal error: Method OO::__get() must take exactly 1 argument in /home/ben/test/overload.php on line 16 -- Edit bug report at http://bugs.php.net/?id=46598&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46598&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46598&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46598&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46598&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=46598&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=46598&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46598&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46598&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46598&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46598&r=support Expected behavior: http://bugs.php.net/fix.php?id=46598&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46598&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46598&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46598&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46598&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46598&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46598&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46598&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46598&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46598&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46598&r=mysqlcfg

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