Deprecated: foo implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /in/C6UNl on line 3
Fatal error: Uncaught Error: Call to undefined function Exception() in /in/C6UNl:9
Stack trace:
#0 [internal function]: foo->serialize()
#1 /in/C6UNl(17): serialize(Object(foo))
#2 {main}
thrown in /in/C6UNl on line 9
Process exited with code 255.
Fatal error: Uncaught Error: Call to undefined function Exception() in /in/C6UNl:9
Stack trace:
#0 [internal function]: foo->serialize()
#1 /in/C6UNl(17): serialize(Object(foo))
#2 {main}
thrown in /in/C6UNl on line 9
Process exited with code 255.