|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-05 20:23 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 23:00:01 2025 UTC |
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] ) )