3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php abstract class XYZ implements Serializable {} echo unserialize('C:3:"XYZ":18446744075857035259:{}'); ?>
Output for 7.1.10 - 7.2.0
Warning: unserialize(): Numerical result out of range in /in/X6V70 on line 3 Warning: Insufficient data for unserializing - 9223372036854775807 required, 1 present in /in/X6V70 on line 3 Notice: unserialize(): Error at offset 32 of 33 bytes in /in/X6V70 on line 3
Output for 5.1.0 - 7.1.7
Warning: Insufficient data for unserializing - 2147483643 required, 1 present in /in/X6V70 on line 3 Notice: unserialize(): Error at offset 32 of 33 bytes in /in/X6V70 on line 3
Output for 5.0.5
Fatal error: Interface 'Serializable' not found in /in/X6V70 on line 2
Process exited with code 255.
Output for 5.0.0 - 5.0.4
Fatal error: Class 'Serializable' not found in /in/X6V70 on line 2
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_CLASS in /in/X6V70 on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_CLASS in /in/X6V70 on line 2
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/X6V70 on line 2
Process exited with code 255.