xref: /php-src/Zend/tests/oss_fuzz_60441.phpt (revision 060df83a)
1--TEST--
2oss-fuzz #60441 (Double compilation of arrow function)
3--FILE--
4<?php
5assert(fn()=>y)[y]??=y;
6?>
7--EXPECTF--
8Fatal error: Uncaught Error: Undefined constant "y" in %s:%d
9Stack trace:
10#0 {main}
11  thrown in %s on line %d
12