xref: /PHP-8.1/Zend/tests/bug74546.phpt (revision d30cd7d7)
1--TEST--
2Bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
3--FILE--
4<?php
5"000000"[0]::d;
6?>
7--EXPECTF--
8Fatal error: Uncaught Error: Class "0" not found in %s:%d
9Stack trace:
10#0 {main}
11  thrown in %sbug74546.php on line %d
12