3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('a:1:{s:11:"attachments";a:1:{i:0;s:34:"/p_attach/3147891/oufhkjur-2350.pdf"}}'));
based on WYqEi
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 73 of 77 bytes in /in/0LsF3 on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Notice: Unable to unserialize: [a:1:{s:11:"attachments";a:1:{i:0;s:34:"/p_attach/3147891/oufhkjur-2350.pdf"}}]. Expected '"' but got 'f'. in /in/0LsF3 on line 2 bool(false)
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.2
array(1) { ["attachments"]=> array(1) { [0]=> string(34) "/p_attach/3147891/oufhkjur-2350.pd" } }