3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize(stripslashes( 'a:3:{s:9:"auth_user";s:1:"1";s:13:"auth_loggedin";b:1;s:11:"user_logged";a:8:{s:2:"id";s:1:"1";s:7:"role_id";s:1:"1";s:4:"name";s:7:"Rodolfo";s:6:"gender";s:1:"m";s:8:"birthday";s:10:"1992-06-11";s:5:"email";s:24:"contato@rodolfosilva.com";s:8:"username";s:5:"admin";s:15:"acl_permissions";a:9:{i:0;s:22:"\/(Home|Page)\/(index)";i:1;s:16:"\/(Page)\/(view)";i:2;s:37:"admin\/(Access)\/(changeAcess|update)";i:3;s:57:"admin\/(Access|Home|Page|Restricoes|Roles|Users)\/(index)";i:4;s:25:"admin\/(Load)\/(configJs)";i:5;s:27:"admin\/(Page|Users)\/(view)";i:6;s:39:"admin\/(Restricoes|Roles|Users)\/(edit)";i:7;s:32:"admin\/(Roles|Users)\/(add|grid)";i:8;s:64:"admin\/(Users)\/(delete|editMyAccount|editPassword|login|logout)";}}}')));
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 327 of 707 bytes in /in/U0ZEJ on line 2 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Notice: Unable to unserialize: [a:3:{s:9:"auth_user";s:1:"1";s:13:"auth_loggedin";b:1;s:11:"user_logged";a:8:{s:2:"id";s:1:"1";s:7:"role_id";s:1:"1";s:4:"name";s:7:"Rodolfo";s:6:"gender";s:1:"m";s:8:"birthday";s:10:"1992-06-11";s:5:"email";s:24:"contato@rodolfosilva.com";s:8:"username";s:5:"admin";s:15:"acl_permissions";a:9:{i:0;s:22:"/(Home|Page)/(index)";i:1;s:16:"/(Page)/(view)";i:2;s:37:"admin/(Access)/(changeAcess|update)";i:3;s:57:"admin/(Access|Home|Page|Restricoes|Roles|Users)/(index)";i:4;s:25:"admin/(Load)/(configJs)";i:5;s:27:"admin/(Page|Users)/(view)";i:6;s:39:"admin/(Restricoes|Roles|Users)/(edit)";i:7;s:32:"admin/(Roles|Users)/(add|grid)";i:8;s:64:"admin/(Users)/(delete|editMyAccount|editPassword|login|logout)";}}}]. Expected '"' but got 'i'. in /in/U0ZEJ on line 2 bool(false)
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 329 of 707 bytes in /in/U0ZEJ on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 329 of 707 bytes in /in/U0ZEJ on line 2 bool(false)