I'm planning to expose some common variables as globals in my script and am wondering if the following naming scheme would be considered bad ideas:
- using single underscore at the beginning and end like:
$_some_var_ - using triple underscore at the beginning like:
$___some_var
I know that php uses single underscore at the beginning for superglobals and double underscore for magic methods so there shouldn't be any conflicts. Is there anything else that could cause trouble? And is doing this considered bad for any other reason?
Thanks!