From: Jared dot Williams1 at ntlworld dot com
Operating system: Windows 2000/IIS
PHP version: 5.0.0
PHP Bug Type: Class/Object related
Bug description: Exception constructor marked as both public and protected
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 bug report at http://bugs.php.net/?id=29354&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29354&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29354&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29354&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29354&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29354&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29354&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29354&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29354&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29354&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29354&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29354&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29354&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29354&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29354&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29354&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29354&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29354&r=float