Jump to content

Unset all variables


dotkpay

Recommended Posts

Hello,

Am writing a script with lots of variables and its called by require() into the main file. But I probably have an interference in variable values because I get incorrect results.

I have to unset all variables first before I enter the new script but there are lots of them. Is there a way I can unset all variables with a simple line of code or function?

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/245967-unset-all-variables/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.