|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15713 Function in get_defined_functions() array causing fatal error.
Submitted: 2002-02-25 09:49 UTC Modified: 2002-02-25 10:21 UTC
From: ahristov at icygen dot com Assigned:
Status: Closed Package: WDDX related
PHP Version: 4.1.1 OS: Win2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ahristov at icygen dot com
New email:
PHP Version: OS:


 [2002-02-25 09:49 UTC] ahristov at icygen dot com
	$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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-25 10:21 UTC] ahristov at icygen dot com
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).
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 20:01:32 2024 UTC