getModifierNames() returns too long strings
| Bug #30344 | Reflection::getModifierNames() returns too long strings | ||||
|---|---|---|---|---|---|
| Submitted: | 2004-10-06 22:12 UTC | Modified: | 2004-10-06 23:28 UTC | ||
| From: | mail at patrickwitte dot de | Assigned: | helly (profile) | ||
| Status: | Closed | Package: | Scripting Engine problem | ||
| PHP Version: | 5.0.2 | OS: | * | ||
| Private report: | No | CVE-ID: | None | ||
[2004-10-06 22:12 UTC] mail at patrickwitte dot de
Description:
------------
see Summary
Reproduce code:
---------------
var_dump(Reflection::getModifierNames(1));
Expected result:
----------------
array(1) { [0]=> string(6) "static" }
Actual result:
--------------
array(1) { [0]=> string(7) "static " }
//with character #0 at this point ^
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2004-10-06 23:28 UTC] helly@php.net