C:4:"Test":27:{a:1:{s:3:"foo";s:4:"Test";}}
Test
Warning: Erroneous data format for unserializing 'Test' in /in/GmmmL on line 32
Notice: unserialize(): Error at offset 14 of 36 bytes in /in/GmmmL on line 32
Warning: get_class() expects parameter 1 to be object, bool given in /in/GmmmL on line 32
Output for 7.1.0 - 7.1.33, 7.2.0 - 7.2.34
C:4:"Test":27:{a:1:{s:3:"foo";s:4:"Test";}}
Test
Warning: Erroneous data format for unserializing 'Test' in /in/GmmmL on line 32
Notice: unserialize(): Error at offset 14 of 36 bytes in /in/GmmmL on line 32
Warning: get_class() expects parameter 1 to be object, boolean given in /in/GmmmL on line 32
Output for 7.0.0 - 7.0.33
C:4:"Test":27:{a:1:{s:3:"foo";s:4:"Test";}}
Fatal error: Uncaught TypeError: Return value of Test::__unserialize() must be an instance of void, none returned in /in/GmmmL:14
Stack trace:
#0 /in/GmmmL(21): Test->__unserialize(Array)
#1 [internal function]: Test->unserialize('a:1:{s:3:"foo";...')
#2 /in/GmmmL(29): unserialize('C:4:"Test":27:{...')
#3 {main}
thrown in /in/GmmmL on line 14
Process exited with code 255.