Edit report at https://bugs.php.net/bug.php?id=36562&edit=1

 ID:                 36562
 Updated by:         larue...@php.net
 Reported by:        justin at superglobals dot com
 Summary:            Reflection information throughout PHP
-Status:             Suspended
+Status:             Not a bug
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 PHP Version:        5.*
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.




Previous Comments:
------------------------------------------------------------------------
[2006-02-28 20:03:18] he...@php.net

This is suspended until somebody is willing to do the work.
And of course the work has to be done throughout php.

------------------------------------------------------------------------
[2006-02-28 19:52:28] justin at superglobals dot com

Description:
------------
When you request the ReflectionParameters for the PDO constructor, it returns 
an empty array instead of an array of ReflectionParamters representing the dsn, 
username, password and driver options.

It would seem that PDO is not providing Reflection info for it's constructor 
(possibly more).

Reproduce code:
---------------
$method = new ReflectionMethod ('PDO', '__construct');
print_r ($method->getParameters ());

Expected result:
----------------
Array
(
    [0] => ReflectionParameter Object
        (
            [name] => dsn
        )

    [1] => ReflectionParameter Object
        (
            [name] => username
        )

    [2] => ReflectionParameter Object
        (
            [name] => password
        )

    [3] => ReflectionParameter Object
        (
            [name] => driver_options
        )

)

Actual result:
--------------
Array
(
)


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=36562&edit=1

Reply via email to