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