From: mattsch at gmail dot com Operating system: * PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Visibility should be public for overload methods in the documentation
Description: ------------ http://www.php.net/manual/en/language.oop5.overloading.php The example sets the visibility of the overload methods to private when they should be public. AFAIK it shouldn't override the visibility of the method it is overloading. Reproduce code: --------------- private Expected result: ---------------- public Actual result: -------------- private -- Edit bug report at http://bugs.php.net/?id=40103&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40103&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40103&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40103&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40103&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40103&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40103&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=40103&r=needscript Try newer version: http://bugs.php.net/fix.php?id=40103&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40103&r=support Expected behavior: http://bugs.php.net/fix.php?id=40103&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40103&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40103&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40103&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40103&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40103&r=dst IIS Stability: http://bugs.php.net/fix.php?id=40103&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40103&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40103&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40103&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=40103&r=mysqlcfg