3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 's:2915:"O:29:"Adele\Model\Residence\Opening":1:{s:4:"days";a:7:{i:1;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:1;s:4:"open";b:1;s:11:"morningFrom";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 08:30:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 20:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:11:"eveningFrom";N;s:9:"eveningTo";N;}i:2;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:2;s:4:"open";b:1;s:11:"morningFrom";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 08:30:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 20:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:11:"eveningFrom";N;s:9:"eveningTo";N;}i:3;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:3;s:4:"open";b:1;s:11:"morningFrom";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 08:30:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 20:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:11:"eveningFrom";N;s:9:"eveningTo";N;}i:4;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:4;s:4:"open";b:1;s:11:"morningFrom";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 08:30:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 20:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:11:"eveningFrom";N;s:9:"eveningTo";N;}i:5;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:5;s:4:"open";b:1;s:11:"morningFrom";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 08:30:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 20:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:11:"eveningFrom";N;s:9:"eveningTo";N;}i:6;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:6;s:4:"open";b:1;s:11:"morningFrom";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 10:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";O:8:"DateTime":3:{s:4:"date";s:26:"1970-01-01 18:00:00.000000";s:13:"timezone_type";i:3;s:8:"timezone";s:12:"Europe/Paris";}s:11:"eveningFrom";N;s:9:"eveningTo";N;}i:7;O:32:"Adele\Model\Residence\OpeningDay":8:{s:3:"day";i:7;s:4:"open";b:0;s:11:"morningFrom";N;s:9:"morningTo";N;s:13:"afternoonFrom";N;s:11:"afternoonTo";N;s:11:"eveningFrom";N;s:9:"eveningTo";N;}}}";'; echo unserialize(unserialize($string));
based on 0Z22b
Output for 7.1.0 - 7.2.0
Recoverable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /in/2vXAL on line 5
Process exited with code 255.
Output for 5.3.18 - 7.0.20
Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted to string in /in/2vXAL on line 5
Process exited with code 255.