xref: /PHP-8.2/ext/opcache/tests/jit/assign_038.phpt (revision b12340fc)
1--TEST--
2JIT ASSIGN: Assign constant (with result)
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8opcache.protect_memory=1
9;opcache.jit_debug=257
10opcache.optimization_level=0 ; disable optimizer to produce ASSIGN with result
11--EXTENSIONS--
12opcache
13--FILE--
14<?php
15$a = $b = "bb";
16var_dump($a, $b);
17?>
18--EXPECT--
19string(2) "bb"
20string(2) "bb"
21