1--TEST--
2JIT SEND_VAL: 001
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--EXTENSIONS--
9opcache
10--FILE--
11<?php
12function foo($type) {
13        $key = md5(
14            is_array($type) ? \implode('_', $type) : $type .
15            "ops"
16        );
17        return $key;
18}
19var_dump(foo("int"));
20var_dump(foo(["int"]));
21?>
22--EXPECT--
23string(32) "253a948ecc9192cb47e492f692aa63a8"
24string(32) "fa7153f7ed1cb6c0fcf2ffb2fac21748"
25