3v4l.org

run code in 300+ PHP versions simultaneously
<?php $command = 1; $chksum = 2; $session_id = 3; $reply_id = 4; $command_string = 'test'; $buf = pack('SSSS', $command, $chksum, $session_id, $reply_id).$command_string; $buf = unpack('C'.(8+strlen($command_string)).'c', $buf); var_dump($buf);
Output for git.master, git.master_jit, rfc.property-hooks
array(12) { ["c1"]=> int(1) ["c2"]=> int(0) ["c3"]=> int(2) ["c4"]=> int(0) ["c5"]=> int(3) ["c6"]=> int(0) ["c7"]=> int(4) ["c8"]=> int(0) ["c9"]=> int(116) ["c10"]=> int(101) ["c11"]=> int(115) ["c12"]=> int(116) }

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:
62.07 ms | 401 KiB | 8 Q