From: rampant at gmail dot com Operating system: WinXP PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: "Try" is a Control Structure, not an Object
Description: ------------ The documentation for "try" and "catch" is in the "Classes and Objects" chapter of the manual. Throw, Try and Catch control the flow of execution much like "if" does. They make use of the Exception class, just as "if" works on booleans - and just as if is not put into the "Types" chapter, we shouldn't expect to find try and catch in the "Classes and Objects" chapter. Expected result: ---------------- http://www.php.net/manual/en/language.control-structures.php try, catch and throw would ba added to the list on the above page, and the exceptions content would be moved there from the http://www.php.net/manual/en/language.oop5.exceptions.php page. Actual result: -------------- Exceptions are hidden away in the Classes and Objects chapter. -- Edit bug report at http://bugs.php.net/?id=31250&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31250&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31250&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31250&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31250&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31250&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31250&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31250&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31250&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31250&r=support Expected behavior: http://bugs.php.net/fix.php?id=31250&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31250&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31250&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31250&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31250&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31250&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31250&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31250&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31250&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31250&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31250&r=mysqlcfg