3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hex2asc($str) { $str = join('',explode('\x',$str)); $len = strlen($str); for ($i=0;$i<$len;$i+=2) $data.=chr(hexdec(substr($str,$i,2))); return $data; } echo hex2asc("\x03\x01\x10\x04\xBD\xFD\xBF\x0A");
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /in/8M13i on line 5 Warning: Undefined variable $data in /in/8M13i on line 5 Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /in/8M13i on line 5 Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /in/8M13i on line 5 Deprecated: Invalid characters passed for attempted conversion, these have been ignored in /in/8M13i on line 5

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:
47.05 ms | 402 KiB | 8 Q