php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #30487 reflection
Submitted: 2004-10-19 23:57 UTC Modified: 2004-10-20 09:28 UTC
From: Jason at AMP-design dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 5.0.1 OS: Windows 2003 / Mac OS X / CentOS
Private report: No CVE-ID: None
 [2004-10-19 23:57 UTC] Jason at AMP-design dot net
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-20 09:28 UTC] helly@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 19 19:01:30 2024 UTC