php-src/Zend/tests/bug74546.phpt
2020-07-10 21:05:28 +02:00

12 lines
250 B
PHP

--TEST--
Bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
--FILE--
<?php
"000000"[0]::d;
?>
--EXPECTF--
Fatal error: Uncaught Error: Class "0" not found in %s:%d
Stack trace:
#0 {main}
thrown in %sbug74546.php on line %d