3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:1:{i:0;a:7: {s:13:"PackagingType";s:3:"BOX";s:11:"Description";s:4:"Doos";s:8:"Quantity";i:1;s:6:"Length";d:10;s:5:"Width";d:10;s:6:"Height";d:10;s:6:"Weight";d:1;}}'));
based on 6Y9Te
Output for 7.0.18 - 7.0.20, 7.1.4 - 7.2.6
Notice: unserialize(): Error at offset 9 of 171 bytes in /in/PH0Ei on line 3 bool(false)
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.17, 7.1.0 - 7.1.3
Notice: unserialize(): Error at offset 9 of 171 bytes in /in/PH0Ei on line 4 bool(false)
Output for hhvm-3.15.4
Notice: Unable to unserialize: [a:1:{i:0;a:7: {s:13:"PackagingType";s:3:"BOX";s:11:"Description";s:4:"Doos";s:8:"Quantity";i:1;s:6:"Length";d:10;s:5:"Width";d:10;s:6:"Height";d:10;s:6:"Weight";d:1;}}]. Expected '{' but got ' '. in /in/PH0Ei on line 4 bool(false)