3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "test"; var_dump( pack('NQ>C',"123456789","123456789123456789",1) ); var_dump( pack('N',$Cardid).pack('C*', unpack ('C*', pack ('Q', $Stbid))).pack('C',1); ); echo "examples"; var_dump( pack('S', 1), pack('L', 1), pack('Q', 1), pack('I', 1) ); var_dump( pack('n', 1), pack('N', 1), pack('J', 1), pack('I', 1) ); var_dump( pack('v', 1), pack('V', 1), pack('P', 1), pack('I', 1) );
based on J3vtd
Output for 7.0.0
Parse error: syntax error, unexpected ';', expecting ',' or ')' in /in/jnIgp on line 8
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected ';' in /in/jnIgp on line 8
Process exited with code 255.