PHP 4.0 Bug #9952 Updated: get_defined_functions appends whitespace to returned values

From: Date: Fri, 23 Mar 2001 14:08:59 +0000
Subject: PHP 4.0 Bug #9952 Updated: get_defined_functions appends whitespace to returned values
Groups: php.dev 
Request: Send a blank email to php-dev+get-49813@lists.php.net to get a copy of this message
ID: 9952 Updated by: cynic Reported By: cynic@mail.cz Status: Open Bug Type: Unknown/Other Function Assigned To: Comments: turned out it's not a whitespace, it's null: $x = get_defined_functions() ; $x = array_shift( $x['internal'] ) ; for( $i = 0 ; $i < strlen( $x ) ; $i++ ) { echo $x[ $i ] , ' : ' , ord( $x[ $i ] ) , "\n" ; } z : 122 e : 101 n : 110 d : 100 _ : 95 v : 118 e : 101 r : 114 s : 115 i : 105 o : 111 n : 110 : 0 Previous Comments: --------------------------------------------------------------------------- [2001-03-23 07:17:56] cynic@mail.cz NOTE: this is actually a snapshot from yesterday. signle space is appended to each and every returned function name, this affects both internals and userland ones. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9952&edit=2

« previous php.dev (#49813) next »