xref: /PHP-8.1/ext/opcache/tests/jit/fetch_r_001.phpt (revision 5c43e0c0)
1--TEST--
2FETCH_R: 001 result reference counter may be decremented befor use
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10$x = [&$v];
11$y = 'x';
12$$y == [&$x[0]];
13?>
14DONE
15--EXPECT--
16DONE
17