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