3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php print_r(unserialize('a:18:{s:5:"TOTAL";d:273.5;s:5:"RESNO";s:7:"5941063";s:8:"USERNAME";s:16:"wkiril@gmail.com";s:6:"STATUS";i:1;s:8:"DISCOUNT";i:0;s:9:"SELLPRICE";d:273.5;s:8:"BUYPRICE";N;s:6:"MPRATE";d:61.539999999999999;s:6:"IPADDR";s:9:"127.0.0.1";s:8:"TRIPTYPE";s:5:"round";s:3:"FEE";s:3:"0.0";s:2:"PT";i:2;s:8:"COMMENTS";s:3:"asd";s:7:"CREATED";s:19:"2015-09-10 12:40:20";s:9:"CREATEDBY";s:6:"system";s:6:"SOURCE";s:2:"23";s:6:"ORIGIN";s:3:"TVA";s:2:"ID";i:855;}')); echo '################################'. PHP_EOL; print_r(unserialize('a:7:{s:8:"booktype";s:6:"myself";s:3:"mob";s:10:"1234567890";s:3:"eml";s:16:"wkiril@gmail.com";s:3:"cem";s:16:"wkiril@gmail.com";s:3:"fnm";s:0:"";s:3:"lnm";s:0:"";s:3:"sms";s:1:"1";} pasData: a:3:{i:0;a:1:{i:0;a:12:{s:3:"BID";i:855;s:9:"FIRSTNAME";s:5:"KIRIL";s:8:"LASTNAME";s:6:"IVANOV";s:7:"DOCTYPE";s:1:"2";s:6:"DOCNUM";s:10:"1234567890";s:10:"EXPIRYDATE";s:10:"2019-01-03";s:9:"BIRTHDATE";s:10:"1973-02-02";s:4:"ISO3";s:3:"BGR";s:6:"GENDER";i:1;s:4:"TYPE";i:1;s:7:"CREATED";s:19:"2015-09-10 12:40:21";s:9:"CREATEDBY";s:6:"system";}}i:1;a:0:{}i:2;a:0:{}}'));
Output for 5.4.0 - 7.2.0
Array ( [TOTAL] => 273.5 [RESNO] => 5941063 [USERNAME] => wkiril@gmail.com [STATUS] => 1 [DISCOUNT] => 0 [SELLPRICE] => 273.5 [BUYPRICE] => [MPRATE] => 61.54 [IPADDR] => 127.0.0.1 [TRIPTYPE] => round [FEE] => 0.0 [PT] => 2 [COMMENTS] => asd [CREATED] => 2015-09-10 12:40:20 [CREATEDBY] => system [SOURCE] => 23 [ORIGIN] => TVA [ID] => 855 ) ################################ Array ( [booktype] => myself [mob] => 1234567890 [eml] => wkiril@gmail.com [cem] => wkiril@gmail.com [fnm] => [lnm] => [sms] => 1 )