3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unpack("a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/" . "a8checksum/a1typeflag/a100link/a6magic/a2version/" . "a32uname/a32gname/a8devmajor/a8devminor/a131prefix", (pack("H*", "7061636b6167652e786d6c000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030303030363434003030303137353000303030313735300030303030303231373036370031323030303335343330300030313234353720003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000757374617220200064657269636b000000000000000000000000000000000000000000000000000064657269636b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"))));
Output for 5.5.0 - 7.1.0
array(16) { ["filename"]=> string(100) "package.xml" ["mode"]=> string(8) "0000644" ["uid"]=> string(8) "0001750" ["gid"]=> string(8) "0001750" ["size"]=> string(12) "00000217067" ["mtime"]=> string(12) "12000354300" ["checksum"]=> string(8) "012457 " ["typeflag"]=> string(1) "0" ["link"]=> string(100) "" ["magic"]=> string(6) "ustar " ["version"]=> string(2) " " ["uname"]=> string(32) "derick" ["gname"]=> string(32) "derick" ["devmajor"]=> string(8) "" ["devminor"]=> string(8) "" ["prefix"]=> string(131) "" }
Output for 4.3.0 - 5.4.45
array(16) { ["filename"]=> string(11) "package.xml" ["mode"]=> string(7) "0000644" ["uid"]=> string(7) "0001750" ["gid"]=> string(7) "0001750" ["size"]=> string(11) "00000217067" ["mtime"]=> string(11) "12000354300" ["checksum"]=> string(7) "012457 " ["typeflag"]=> string(1) "0" ["link"]=> string(0) "" ["magic"]=> string(6) "ustar " ["version"]=> string(1) " " ["uname"]=> string(6) "derick" ["gname"]=> string(6) "derick" ["devmajor"]=> string(0) "" ["devminor"]=> string(0) "" ["prefix"]=> string(0) "" }