Here's an example what I want to do:
Code: Select all
function SomeFunc() {
//code here
}
undeclare('SomeFunc'); // this is a hypothetical function
SomeFunc(); //try to call a function that no longer existsCode: Select all
Fatal error: Call to undefined function SomeFunc() in ... on line ...I checked the documentation's section on Function Handlin Functions, but alas, there was nothing there. Is there perhaps some sort of workaround or the such that one of you guys can think of?
Thanks
--Macai