3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $test = 'a:2:{i:0;a:14:{s:2:"id";s:3:"109";s:16:"reference_number";s:7:"123 456";s:5:"title";s:26:" Panel 3D - „Atlantic”";s:6:"weight";s:2:"18";s:6:"height";s:2:"25";s:5:"width";s:2:"25";s:9:"thickness";s:9:"0,7 - 4,0";s:14:"package_pieces";s:1:"2";s:11:"package_sqm";s:3:"0,5";s:5:"color";a:2:{s:2:"id";s:2:"35";s:5:"title";s:6:"Biały";}s:5:"count";i:1;s:5:"price";s:4:"36.2";s:5:"total";d:36.2000000000000028421709430404007434844970703125;s:4:"icon";s:70:"http://www.malnetp.ovh/ladecor_dev/upload/thumbnails/406_201_bialy.jpg";}i:1;a:14:{s:2:"id";s:3:"109";s:16:"reference_number";s:7:"123 456";s:5:"title";s:26:" Panel 3D - „Atlantic”";s:6:"weight";s:2:"18";s:6:"height";s:2:"25";s:5:"width";s:2:"25";s:9:"thickness";s:9:"0,7 - 4,0";s:14:"package_pieces";s:1:"2";s:11:"package_sqm";s:3:"0,5";s:5:"color";a:2:{s:2:"id";s:2:"39";s:5:"title";s:8:"Żółty";}s:5:"count";i:2;s:5:"price";s:4:"4.99";s:5:"total";d:9.980000000000000426325641456060111522674560546875;s:4:"icon";s:70:"http://www.malnetp.ovh/ladecor_dev/upload/thumbnails/406_201_zolty.jpg";}}'; die(var_dump(unserialize($test)));
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.3.0beta1
array(2) { [0]=> array(14) { ["id"]=> string(3) "109" ["reference_number"]=> string(7) "123 456" ["title"]=> string(26) " Panel 3D - „Atlantic”" ["weight"]=> string(2) "18" ["height"]=> string(2) "25" ["width"]=> string(2) "25" ["thickness"]=> string(9) "0,7 - 4,0" ["package_pieces"]=> string(1) "2" ["package_sqm"]=> string(3) "0,5" ["color"]=> array(2) { ["id"]=> string(2) "35" ["title"]=> string(6) "Biały" } ["count"]=> int(1) ["price"]=> string(4) "36.2" ["total"]=> float(36.2) ["icon"]=> string(70) "http://www.malnetp.ovh/ladecor_dev/upload/thumbnails/406_201_bialy.jpg" } [1]=> array(14) { ["id"]=> string(3) "109" ["reference_number"]=> string(7) "123 456" ["title"]=> string(26) " Panel 3D - „Atlantic”" ["weight"]=> string(2) "18" ["height"]=> string(2) "25" ["width"]=> string(2) "25" ["thickness"]=> string(9) "0,7 - 4,0" ["package_pieces"]=> string(1) "2" ["package_sqm"]=> string(3) "0,5" ["color"]=> array(2) { ["id"]=> string(2) "39" ["title"]=> string(8) "Żółty" } ["count"]=> int(2) ["price"]=> string(4) "4.99" ["total"]=> float(9.98) ["icon"]=> string(70) "http://www.malnetp.ovh/ladecor_dev/upload/thumbnails/406_201_zolty.jpg" } }