ID: 29354 Updated by: [EMAIL PROTECTED] Reported By: Jared dot Williams1 at ntlworld dot com -Status: Open +Status: Feedback Bug Type: Class/Object related Operating System: Windows 2000/IIS PHP Version: 5.0.0 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2004-07-23 17:57:09] Jared dot Williams1 at ntlworld dot com Description: ------------ Exception class constructor when inspected via the Reflection api, seems to be both marked a public and protected. Reproduce code: --------------- $exceptionClass = new ReflectionClass('Exception'); $exceptionConstructor = $exceptionClass->getConstructor(); var_dump($exceptionConstructor->isPublic()); var_dump($exceptionConstructor->isProtected()); Expected result: ---------------- bool(true) bool(false) or bool(false) bool(true) Actual result: -------------- bool(true) bool(true) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29354&edit=1