mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
35a36b13e5
Fixes GH-10486 Fixes oss-fuzz #55436 Fixes oss-fuzz #55472 Closes GH-10487
12 lines
245 B
PHP
12 lines
245 B
PHP
--TEST--
|
|
Assertion error when attempting constant eval of dynamic class constant fetch
|
|
--FILE--
|
|
<?php
|
|
const y = y::{y};
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Uncaught Error: Undefined constant "y" in %s:%d
|
|
Stack trace:
|
|
#0 {main}
|
|
thrown in %s on line %d
|