News for hackers. Stuff that matters.
Re:New to PHP 5.4: Traits by robryan on Saturday November 20, 2010 @10:31AM (#1924621)
If they are going that far, it would probably be better to get rid of more in one go, rather than giving people legacy code headaches with each release.
Re:New to PHP 5.4: Traits by philfreo on Saturday November 20, 2010 @12:37PM (#1924857)
What else do you think they should remove?
Re:New to PHP 5.4: Traits by robryan on Saturday November 20, 2010 @11:19PM (#1926295)
I guess I would focus on cleanup, method names and parameter orders. I don't know enough about the internals to know if also allowing say $var = $val->substring(0, 2); could be an alias to how values are currently passed into functions.