xref: /PHP-8.2/ext/opcache/tests/opt/dce_011.phpt (revision f302430c)
1--TEST--
2Incorrect DCE of ADD_ARRAY_ELEMENT
3--FILE--
4<?php
5[0, "$a" => "$b"];
6?>
7DONE
8--EXPECTF--
9Warning: Undefined variable $a in %sdce_011.php on line 2
10
11Warning: Undefined variable $b in %sdce_011.php on line 2
12DONE
13