Is there a way to get around having to reference Global variables inside a function in PHP?
<p>Is there a way to get around having to reference Global variables inside a function in PHP?</p>

<p>I just hate having to use the 'global' keyword for every variable, and I've been told that using constants (as an alternative) in PHP affects performance badly.</p>
