14 Jun
2008
14 Jun
'08
2:56 p.m.
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