From: Jason at AMP-design dot net Operating system: Windows 2003 / Mac OS X / CentOS PHP version: 5.0.1 PHP Bug Type: Zend Engine 2 problem Bug description: reflection
Description: ------------ This is more of a feature request, but I'm reporting this as a bug as I don't know where to place feature requests. Likewise, I feel this is a piece is missing functionallity that should have been part of the original reflection API Basically, the reflection API provides no method in the ReflectionParameter class to find out the default value for a parameter. This is frustrating as I have a class that I use for simulating multiple inheritance that uses the reflection API to synthesise a dynamic proxy class. However it becomes tricky dealing with optional function parameters. -- Edit bug report at http://bugs.php.net/?id=30487&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30487&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30487&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30487&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30487&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30487&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30487&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30487&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30487&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30487&r=support Expected behavior: http://bugs.php.net/fix.php?id=30487&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30487&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30487&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30487&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30487&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30487&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30487&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30487&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30487&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30487&r=mysqlcfg