php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #55724 Fatal error: Call to undefined function
Submitted: 2011-09-19 03:40 UTC Modified: 2011-09-19 03:56 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: crackfan at qq dot com Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 5.3.8 OS: windows 2003 sp2
Private report: No CVE-ID: None
 [2011-09-19 03:40 UTC] crackfan at qq dot com
Description:
------------
php5.3.8 usually report:Fatal error: Call to undefined function
but xxx function exists.

Test script:
---------------
function is_ascii($string) {
	return preg_match('%^(?:
	[\x09\x0A\x0D\x20-\x7E]             # ASCII
	|[\xC2-\xDF][\x80-\xBF]             # non-overlong 2-byte
	)*$%xs', $string);
}

$str = "123asd!";

if(is_ascii($str)) {
	echo "ansi";
} else {
	echo "Not ansi";
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-09-19 03:56 UTC] crackfan at qq dot com
-Status: Open +Status: Closed
 [2011-09-19 03:56 UTC] crackfan at qq dot com
That's ok!other extension error!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC