xref: /PHP-8.1/ext/opcache/tests/jit/isset_001.phpt (revision 45583713)
1--TEST--
2ISSET_ISEMPTY_DIM with undefined variable
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10function test() {
11    var_dump(isset($a[$undef]));
12}
13test();
14?>
15--EXPECTF--
16Warning: Undefined variable $undef in %s on line %d
17bool(false)
18