Is the double colon var resolution valid in an Argument?
View Single Post
01-21-2008, 11:34 AM
Join Date: Dec 2007
Location: Bucharest, Romania
Is this a joke of some sort? 'cuz I really don't get it. First of all, the big mistake is that you don't have a name for your method. Next to that, why would you want to do what you just wrote? I don't even want to know whether that is valid or not (but I'm pretty sure it isn't). I would never want to write a function that gets a variable as a parameter and returns it unchanged, but rather just use the damned variable. Especially not with a class constant or static variable, which is always available from within the class is declared, with self::const/$static.
Other than that, you're crazy
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
View Public Profile
Send a private message to xenon
Visit xenon's homepage!
Find More Posts by xenon