xref: /php-src/ext/opcache/tests/jit/and_001.phpt (revision c16ad918)
1--TEST--
2JIT BW_AND: 001 (empty string)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9$a = [];
10$b = "";
11$a["" & $b] *= 3;
12?>
13DONE
14--EXPECTF--
15Warning: Undefined array key "" in %sand_001.php on line 4
16DONE
17