xref: /php-src/ext/opcache/tests/jit/assign_032.phpt (revision c16ad918)
1--TEST--
2JIT ASSIGN: 032
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.protect_memory=1
8;opcache.jit_debug=257
9--EXTENSIONS--
10opcache
11--FILE--
12<?php
13$var = "intergalactic";
14$var1 = "space";
15$var2 = &$var1;
16$var = $var2;
17var_dump($var);
18var_dump($var1);
19var_dump($var2);
20echo "Done\n";
21?>
22--EXPECT--
23string(5) "space"
24string(5) "space"
25string(5) "space"
26Done
27