PHP.nl

uopz_overload

uopz_overload

Overload a VM opcode

void **uopz_overload** int $opcode Callable $callable

Overloads the specified with the user defined function opcode

opcodeA valid opcode, see constants for details of supported codes

callable

Voorbeeld: example

<?php
uopz_overload(ZEND_EXIT, function(){});

exit();
echo "Hello World";
?>
Hello World