Just a quick question (I Hope) I'm calling two PHP script using require_once, those script have some variables in PHP, JS, etc.
<?php require_once "page1.php";?>
<?php require_once "page2.php";?>
The issue is that page2.php have some variables with the same name in page1.php but with different values
Is there any way to require page1.php, show the content and after "release" or "clean" the content of variable in memory in order to require page2.php without conflics?
I know, will be more simple to change name of variables... But, I need ask ;)
Thanks for your help