In bar
In foo
Destruct bar
Exception: x in /in/tnh2R:26
Stack trace:
#0 /in/tnh2R(8): Bar->__destruct()
#1 [internal function]: Foo->__wakeup()
#2 /in/tnh2R(36): unserialize('a:1:{i:0;O:3:"F...')
#3 {main}
==========
In bar
In foo
array(2) {
[0]=>
object(Foo)#3 (1) {
["foo"]=>
NULL
}
[1]=>
object(Bar)#4 (1) {
["bar"]=>
NULL
}
}
Destruct foo
Destruct bar
Exception: x in /in/tnh2R:26
Stack trace:
#0 /in/tnh2R(43): Bar->__destruct()
#1 {main}
==========
In foo
In bar
array(2) {
[0]=>
object(Bar)#5 (1) {
["bar"]=>
NULL
}
[1]=>
object(Foo)#4 (1) {
["foo"]=>
NULL
}
}
Destruct bar
Destruct foo
Exception: x in /in/tnh2R:26
Stack trace:
#0 /in/tnh2R(49): Bar->__destruct()
#1 {main}
==========
Destruct foo
Destruct bar
Fatal error: Uncaught Exception: x in /in/tnh2R:26
Stack trace:
#0 [internal function]: Bar->__destruct()
#1 {main}
thrown in /in/tnh2R on line 26
Process exited with code 255.
Output for 7.0.0 - 7.0.14, 7.1.0
In bar
In foo
Destruct bar
Destruct foo
Exception: x in /in/tnh2R:26
Stack trace:
#0 [internal function]: Bar->__destruct()
#1 /in/tnh2R(36): unserialize('a:1:{i:0;O:3:"F...')
#2 {main}
==========
In bar
In foo
Destruct bar
Destruct foo
Exception: x in /in/tnh2R:26
Stack trace:
#0 [internal function]: Bar->__destruct()
#1 /in/tnh2R(43): unserialize('a:2:{i:0;O:3:"F...')
#2 {main}
==========
In foo
In bar
Destruct foo
array(2) {
[0]=>
object(Bar)#5 (1) {
["bar"]=>
NULL
}
[1]=>
NULL
}
Destruct bar
Exception: x in /in/tnh2R:26
Stack trace:
#0 /in/tnh2R(49): Bar->__destruct()
#1 {main}
==========
Destruct foo
Destruct bar
Fatal error: Uncaught Exception: x in /in/tnh2R:26
Stack trace:
#0 [internal function]: Bar->__destruct()
#1 {main}
thrown in /in/tnh2R on line 26
Process exited with code 255.
Output for 5.6.30 - 5.6.40
In bar
In foo
Destruct bar
Fatal error: Uncaught exception 'Exception' with message 'x' in /in/tnh2R:26
Stack trace:
#0 /in/tnh2R(8): Bar->__destruct()
#1 [internal function]: Foo->__wakeup()
#2 /in/tnh2R(36): unserialize('a:1:{i:0;O:3:"F...')
#3 {main}
thrown in /in/tnh2R on line 26
Process exited with code 255.
In bar
In foo
Destruct bar
Destruct foo
Fatal error: Uncaught exception 'Exception' with message 'x' in /in/tnh2R:26
Stack trace:
#0 [internal function]: Bar->__destruct()
#1 /in/tnh2R(36): unserialize('a:1:{i:0;O:3:"F...')
#2 {main}
thrown in /in/tnh2R on line 26
Process exited with code 255.
In bar
In foo
Destruct bar
Destruct foo
Fatal error: Uncaught exception 'Exception' with message 'x' in /in/tnh2R:26
Stack trace:
#0 /in/tnh2R(8): Bar->__destruct()
#1 [internal function]: Foo->__wakeup()
#2 /in/tnh2R(36): unserialize('a:1:{i:0;O:3:"F...')
#3 {main}
thrown in /in/tnh2R on line 26
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[', expecting ')' in /in/tnh2R on line 36
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/tnh2R on line 26
Parse error: syntax error, unexpected '[', expecting ')' in /in/tnh2R on line 36
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /in/tnh2R on line 26
Parse error: parse error, unexpected '[', expecting ')' in /in/tnh2R on line 36
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/tnh2R on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/tnh2R on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/tnh2R on line 4
Process exited with code 255.