3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( unserialize('a:4:{i:0;C:41:"MCC\SocialCare\Component\User\Entity\User":206:{a:9:{i:0;s:60:"$2y$15$2m55uqgw1dc0488k0k44kuj5jlsY5zHjNX/WlJ75iKn1NgPX6rcMS";i:1;s:31:"2m55uqgw1dc0488k0k44k0co8wk8csw";i:2;s:10:"superadmin";i:3;s:10:"superadmin";i:4;b:0;i:5;b:0;i:6;b:0;i:7;b:1;i:8;i:12;}}i:1;b:1;i:2;a:2:{i:0;C:41:"MCC\SocialCare\Component\User\Entity\Role":42:{a:2:{i:0;i:3;i:1;s:16:"ROLE_SUPER_ADMIN";}}i:1;r:16;}i:3;a:0:{}}') );
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/POWAU on line 3 Warning: Class __PHP_Incomplete_Class has no unserializer in /in/POWAU on line 3 Notice: unserialize(): Error at offset 396 of 408 bytes in /in/POWAU on line 3 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Class __PHP_Incomplete_Class has no unserializer in /in/POWAU on line 3 Warning: Class __PHP_Incomplete_Class has no unserializer in /in/POWAU on line 3 Notice: Unable to unserialize: [a:4:{i:0;C:41:"MCC\SocialCare\Component\User\Entity\User":206:{a:9:{i:0;s:60:"$2y$15$2m55uqgw1dc0488k0k44kuj5jlsY5zHjNX/WlJ75iKn1NgPX6rcMS";i:1;s:31:"2m55uqgw1dc0488k0k44k0co8wk8csw";i:2;s:10:"superadmin";i:3;s:10:"superadmin";i:4;b:0;i:5;b:0;i:6;b:0;i:7;b:1;i:8;i:12;}}i:1;b:1;i:2;a:2:{i:0;C:41:"MCC\SocialCare\Component\User\Entity\Role":42:{a:2:{i:0;i:3;i:1;s:16:"ROLE_SUPER_ADMIN";}}i:1;r:16;}i:3;a:0:{}}]. Id 16 out of range. in /in/POWAU on line 3 bool(false)
Output for 5.1.0 - 5.2.17
Notice: unserialize(): Error at offset 18 of 408 bytes in /in/POWAU on line 3 bool(false)
Output for 4.3.2 - 5.0.5
Notice: unserialize(): Error at offset 9 of 408 bytes in /in/POWAU on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 9 of 408 bytes in /in/POWAU on line 3 bool(false)