xref: /PHP-8.1/ext/opcache/tests/jit/add_009.phpt (revision 13d12445)
1--TEST--
2JIT ADD: 009 two array references
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10$a = [];
11var_dump(($b =& $a) + ($b =& $a));
12?>
13--EXPECT--
14array(0) {
15}
16