From: nuts at squirrelfood dot net Operating system: online documentation PHP version: 5.0.0 PHP Bug Type: Documentation problem Bug description: PHP5 Object Visibility
Description: ------------ In the Docs for PHP5 Objects:Visibility (http://www.php.net/manual/en/language.oop5.visibility.php) - I believe there are errors in the text: The visibility of a member or method can be defined by prefixing the declaration with the keywords: public, protected or private. Public declared items can be allow access to any caller. Protected limits access access to only classes inherited. Protected limits visiblity only to the class that defines the item. should read: The visibility of a member or method can be defined by prefixing the declaration with the keywords: public, protected or private. Public declared items can be allow access to any caller. Protected limits access to only classes inherited. Private limits visiblity only to the class that defines the item. and the following lines: Class members must be defined with public, private, or private. should read: Class members must be defined with public, protected, or private. -- Edit bug report at http://bugs.php.net/?id=29187&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29187&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29187&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=29187&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29187&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29187&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29187&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29187&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29187&r=support Expected behavior: http://bugs.php.net/fix.php?id=29187&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29187&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29187&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29187&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29187&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29187&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29187&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29187&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29187&r=float