<?php function foo() { $a = new class { function __destruct() { echo "Destructing\n"; } }; echo "Before\n"; global $a; echo "After\n"; } foo();
You have javascript disabled. You will not be able to edit any code.