php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-06 23:28 UTC] helly@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 11:01:28 2024 UTC