ID:               36295
 Updated by:       [EMAIL PROTECTED]
 Reported By:      marcus at lastcraft dot com
-Status:           Bogus
+Status:           Closed
 Bug Type:         SPL related
 Operating System: Windows
 PHP Version:      5.1.2


Previous Comments:
------------------------------------------------------------------------

[2006-02-05 20:23:55] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Actually there was a typo in parameter name.
Fixed in CVS.

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

[2006-02-05 18:35:02] marcus at lastcraft dot com

Description:
------------
Spurious "]" character on name of "wouldblock" parameter.



Reproduce code:
---------------
$reflection = new ReflectionClass('SplFileObject');
print_r($reflection->getMethod('flock')->getParameters());


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

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

)



Actual result:
--------------
Array
(
    [0] => ReflectionParameter Object
        (
            [name] => operation
        )

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

)




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


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

Reply via email to