3v4l.org

run code in 300+ PHP versions simultaneously
<?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.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.19, 8.3.0 - 8.3.4, 8.3.6 - 8.3.7
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" } }
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 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" } }

preferences:
251.01 ms | 405 KiB | 286 Q