Bug #55724 [Opn->Csd]: Fatal error: Call to undefined function

From: Date: Mon, 19 Sep 2011 03:56:10 +0000
Subject: Bug #55724 [Opn->Csd]: Fatal error: Call to undefined function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-163670@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55724&edit=1 ID: 55724 User updated by: crackfan at qq dot com Reported by: crackfan at qq dot com Summary: Fatal error: Call to undefined function -Status: Open +Status: Closed Type: Bug Package: Unknown/Other Function Operating System: windows 2003 sp2 PHP Version: 5.3.8 Block user comment: N Private report: N New Comment: That's ok!other extension error! Previous Comments: ------------------------------------------------------------------------ [2011-09-19 03:40:04] 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"; } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55724&edit=1

« previous php.bugs (#163670) next »