Bug #15713 Updated: Function in get_defined_functions() array causing fatal error.

From: Date: Mon, 25 Feb 2002 15:21:02 +0000
Subject: Bug #15713 Updated: Function in get_defined_functions() array causing fatal error.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1018@lists.php.net to get a copy of this message
ID: 15713 Updated by: ahristov@icygen.com Reported By: ahristov@icygen.com -Status: Open +Status: Closed Bug Type: WDDX related Operating System: Win2000 PHP Version: 4.1.1 New Comment: Very strange to me. Some of the code from a webpage - article on phpbuilder explaining WDDX and the problems began. Parse error, fatal errors. I rewrote the code by myself and everything is ok. In UEdit the two files looks equal but when comparing with HEX editor I saw that in mine file the blanks are 0x20 as normal but in the copied example they are 0xA0. These A0s fools the lexical analyzer of PHP and UEdit(i'm using syntax highlighting). Previous Comments: ------------------------------------------------------------------------ [2002-02-25 09:49:33] ahristov@icygen.com <?php $all = get_defined_functions(); $internal = $all['internal']; if (in_array('wddx_packet_start',$internal)){ $packet_id = wddx_packet_start("FORUM TREE"); //Fatal error: Call to undefined function: wddx_packet_start() in c:\apache\htdocs\a.php on line 5 } ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15713&edit=1

« previous php.bugs (#1018) next »