3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ' a:1:{i:0;a:14: {i:0;s:1:"1";s:10:"id_cliente";s:1:"1";i:1;s:4:"lore";s:6:"Nombre";s:4:"lore";i:2;s:8:"martinez";s:8:"Apaterno";s:8:"martinez";i:3;s:6:"chavez";s:8:"Amaterno";s:6:"chavez";i:4;s:2:"20";s:4:"Edad";s:2:"20";i:5;s:9:"loreniuxm";s:6:"Correo";s:9:"loreniuxm";i:6;s:3:"214";s:8:"Telefono";s:3:"214";}}; '; echo unserialize($a);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Notice: unserialize(): Error at offset 0 of 321 bytes in /in/NJKSW on line 5
Output for hhvm-3.15.4
Notice: Unable to unserialize: [ a:1:{i:0;a:14: {i:0;s:1:"1";s:10:"id_cliente";s:1:"1";i:1;s:4:"lore";s:6:"Nombre";s:4:"lore";i:2;s:8:"martinez";s:8:"Apaterno";s:8:"martinez";i:3;s:6:"chavez";s:8:"Amaterno";s:6:"chavez";i:4;s:2:"20";s:4:"Edad";s:2:"20";i:5;s:9:"loreniuxm";s:6:"Correo";s:9:"loreniuxm";i:6;s:3:"214";s:8:"Telefono";s:3:"214";}}; ]. Expected ':' but got ' '. in /in/NJKSW on line 5