<?php class A { public $v; public function __destruct() { echo "Hello there"; } } class B { public $v; public function __destruct() { echo " from the other side"; } } $a = new A(); $b = new B(); $a->v = $b; $b->v = $a; echo "Before exit\n"; exit(4);
You have javascript disabled. You will not be able to edit any code.