mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
dc73b73f8b
Fixes oss-fuzz #60011 Closes GH-11540 Co-authored-by: Dmitry Stogov <dmitry@zend.com> Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
9 lines
200 B
PHP
9 lines
200 B
PHP
--TEST--
|
|
oss-fuzz #60011 (Incorrect order of instruction with nullsafe operator)
|
|
--FILE--
|
|
<?php
|
|
[&$y]=$y?->y->y;
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot take reference of a nullsafe chain in %s on line %d
|