3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:2:{s:11:"bookcommand";a:15:{s:11:"productcode";s:9:"MX-CUNHTL";s:13:"departuredate";s:10:"2015-04-30";s:8:"linkcode";s:3:"LBS";s:10:"itemnumber";i:1300;s:15:"inclusionnumber";i:0;s:8:"ispreacc";s:1:"N";s:9:"ispostacc";s:1:"N";s:7:"brandid";s:3:"EGT";s:10:"supplierid";s:9:"MX-CUNLBS";s:9:"serviceid";s:2:"JS";s:8:"duration";i:3;s:4:"mask";s:1:"A";s:9:"qcurrency";s:3:"USD";s:10:"sellmethod";s:3:"WEB";s:9:"extsvcref";s:13:"5540d99a7c6a3";}s:8:"metaData";a:4:{s:12:"locationcode";s:5:"ZONE9";s:9:"roomPrice";s:6:"744.00";s:7:"hotelId";s:3:"101";s:6:"roomId";s:3:"686";}}'));
Output for 4.3.0 - 7.2.0
array(2) { ["bookcommand"]=> array(15) { ["productcode"]=> string(9) "MX-CUNHTL" ["departuredate"]=> string(10) "2015-04-30" ["linkcode"]=> string(3) "LBS" ["itemnumber"]=> int(1300) ["inclusionnumber"]=> int(0) ["ispreacc"]=> string(1) "N" ["ispostacc"]=> string(1) "N" ["brandid"]=> string(3) "EGT" ["supplierid"]=> string(9) "MX-CUNLBS" ["serviceid"]=> string(2) "JS" ["duration"]=> int(3) ["mask"]=> string(1) "A" ["qcurrency"]=> string(3) "USD" ["sellmethod"]=> string(3) "WEB" ["extsvcref"]=> string(13) "5540d99a7c6a3" } ["metaData"]=> array(4) { ["locationcode"]=> string(5) "ZONE9" ["roomPrice"]=> string(6) "744.00" ["hotelId"]=> string(3) "101" ["roomId"]=> string(3) "686" } }