Q. What will be the output?
Code:class A { public function __destruct() { echo 'Bye'; } }
$obj = new A();
β
Correct Answer: (B)
Nothing immediately
Explanation: __destruct runs at script end, not immediately.