That's not strictly 100% accurate, since with real namespaces, the scope would be restricted; although for the purposes here, your suggestion would be practical. Victor Kane http://awebfactory.com.ar On Sat, Jun 14, 2008 at 9:56 AM, Eric-Alexander Schaefer < eric.schaefer@eas-consulting.de> wrote:
Bob Pepin schrieb:
Well, since PHP does have neither namespaces nor modules (okay, you can use classes as some kind of poor man's namespaces if you don't mind writing ClassName::function() all the time), mistake #2 was unavoidable ;)
Every programming language that allows you to name your functions and variables arbitrarily supports namespaces.
$YOUR_NAMESPACE_your_valiable YOUR_NAMESPACE_your_function() _YOUR_NAMESPACE_your_private_function()
HTH, Eric