xref: /PHP-8.3/ext/opcache/tests/jit/concat_001.phpt (revision c55af8d8)
1--TEST--
2JIT CONCAT: 001
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
10--EXTENSIONS--
11opcache
12--FILE--
13<?php
14function foo($a, $b) {
15	return $a . $b;
16}
17var_dump(foo("a", "b"));
18var_dump(foo("a", 5));
19?>
20--EXPECT--
21string(2) "ab"
22string(2) "a5"
23