register_shutdown_function sobrescribir
¿Es posible sobrescribir el @ ya configuradregister_shutdown_function
stack? Algo como
function f1(){
echo "f1";
}
function f2(){
echo "f2";
}
register_shutdown_function("f1");
echo "actions here";
register_shutdown_function("f2");
call_to_undefined_function(); // to "produce" the error
En este caso, quiero que el script solo llame af2()
. ¿Es posible