[PHP] Need help with making variables Global

I have made a script that requires another php script for functions.
I need a way so that the required script can read and write the main script's variables.
Best Regards, John Wei

---------- Post updated at 08:54 AM ---------- Previous update was at 08:40 AM ----------

Sorry Guys, EDIT: my required script needs to be able to read a global $argv $argc, and needs to write a local variable on the main script.
Thanks guys!

What have you tried?