Is there a way in PHP to unset/delete a function that's already been made, so that I can reuse the name?
Reason is because in vbulletin3.5 there's the plugin system which i want to use to edit a function but there's no hooks in that function,so what i want to do is just copy/paste the code, make my edits, and put it into a plugin that cmes after the function has been made. Problem with just creating it is that i get the function already exists cannot redeclare message.
Question
rossco_2004
Is there a way in PHP to unset/delete a function that's already been made, so that I can reuse the name?
Reason is because in vbulletin3.5 there's the plugin system which i want to use to edit a function but there's no hooks in that function,so what i want to do is just copy/paste the code, make my edits, and put it into a plugin that cmes after the function has been made. Problem with just creating it is that i get the function already exists cannot redeclare message.
Thanks. :)
Link to comment
https://www.neowin.net/forum/topic/392084-unset-a-function/Share on other sites
10 answers to this question
Recommended Posts