|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-04-12 18:41 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 09:00:01 2025 UTC |
Description: ------------ ReflectionFunction() incorrectly presumes function flags can be only private, protected or public. Reproduce code: --------------- function foo(){} $f = new ReflectionFunction("foo"); $f->export("foo"); Expected result: ---------------- Function [ <user> function foo ] { @@ Command line code 1 - 1 } Actual result: -------------- Function [ <user> <visibility error> function foo ] { @@ Command line code 1 - 1 }