test for bug #61011

This commit is contained in:
Xinchen Hui 2012-02-25 03:14:16 +00:00
parent f86d90d27b
commit 4b86d681bb

17
Zend/tests/bug61011.phpt Normal file
View File

@ -0,0 +1,17 @@
--TEST--
Bug #61011 (Crash when an exception is thrown by __autoload accessing a static property)
--XFAILD--
#61011 have not been fixed yet
--FILE--
<?php
function __autoload($class) {
throw new Exception($class);
}
try {
NoExistsClass::$property;
} catch (Exception $e) {
}
echo 'okey';
--EXPECT--
okey