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