3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = '{"abs":"number","acos":"float","acosh":"float","asin":"float","asinh":"float","atan2":"float","atan":"float","atanh":"float","base_convert":"string","bindec":"number","ceil":"float","cos":"float","cosh":"float","decbin":"string","dechex":"string","decoct":"string","deg2rad":"float","exp":"float","expm1":"float","floor":"float","fmod":"float","getrandmax":"int","hexdec":"number","hypot":"float","is_finite":"bool","is_infinite":"bool","is_nan":"bool","lcg_value":"float","log10":"float","log1p":"float","log":"float","mt_getrandmax":"int","mt_rand":"int","mt_srand":"void","octdec":"number","pi":"float","pow":"number","rad2deg":"float","rand":"int","round":"float","sin":"float","sinh":"float","sqrt":"float","srand":"void","tan":"float","tanh":"float"}'; var_export(json_decode($data, true));
based on fjlM0
Output for 5.2.0 - 7.1.0
array ( 'abs' => 'number', 'acos' => 'float', 'acosh' => 'float', 'asin' => 'float', 'asinh' => 'float', 'atan2' => 'float', 'atan' => 'float', 'atanh' => 'float', 'base_convert' => 'string', 'bindec' => 'number', 'ceil' => 'float', 'cos' => 'float', 'cosh' => 'float', 'decbin' => 'string', 'dechex' => 'string', 'decoct' => 'string', 'deg2rad' => 'float', 'exp' => 'float', 'expm1' => 'float', 'floor' => 'float', 'fmod' => 'float', 'getrandmax' => 'int', 'hexdec' => 'number', 'hypot' => 'float', 'is_finite' => 'bool', 'is_infinite' => 'bool', 'is_nan' => 'bool', 'lcg_value' => 'float', 'log10' => 'float', 'log1p' => 'float', 'log' => 'float', 'mt_getrandmax' => 'int', 'mt_rand' => 'int', 'mt_srand' => 'void', 'octdec' => 'number', 'pi' => 'float', 'pow' => 'number', 'rad2deg' => 'float', 'rand' => 'int', 'round' => 'float', 'sin' => 'float', 'sinh' => 'float', 'sqrt' => 'float', 'srand' => 'void', 'tan' => 'float', 'tanh' => 'float', )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/urP05 on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/urP05 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/urP05 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/urP05 on line 5