3v4l.org

run code in 300+ PHP versions simultaneously
<?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));
Output for git.master, git.master_jit, rfc.property-hooks
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', )

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
43.63 ms | 403 KiB | 8 Q