Replacing functions
20/28
  • Replaces a function pointer in the symbol table with a new one
  • You can also use it for methods
  • Xdebug uses it to replace var_dump with xdebug_var_dump
  • You can only replace internal functions (unless you're runkit/classkit)