3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = unserialize('a:1:{i:0;a:3:{s:2:"id";s:24:"xxid";s:11:"description";s:3:"Two";s:9:"user-id";s:36:"x6543rd";}}'); print_r($arr);
Output for 5.6.30, 7.0.30 - 7.3.0beta1
Notice: unserialize(): Error at offset 53 of 95 bytes in /in/J7kif on line 3
Output for hhvm-3.22.0
Notice: Unable to unserialize: [a:1:{i:0;a:3:{s:2:"id";s:24:"xxid";s:11:"description";s:3:"Two";s:9:"user-id";s:36:"x6543rd";}}]. Expected '"' but got ';'. in /in/J7kif on line -1
Output for hhvm-3.18.5 - 3.21.3
Notice: Unable to unserialize: [a:1:{i:0;a:3:{s:2:"id";s:24:"xxid";s:11:"description";s:3:"Two";s:9:"user-id";s:36:"x6543rd";}}]. Expected '"' but got ';'. in /in/J7kif on line 3