|
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-2026 The PHP GroupAll rights reserved. |
Last updated: Thu Jan 08 16:00:02 2026 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] ) )