Re: Decision on . or :
- Posted by yuku <yuku at i?itek.com> May 07, 2008
- 664 views
Jeremy Cowgar wrote: > We have heard mainly from those opposing the . in favor of : ... I am going > to step aside and I would like to propose that anyone who wishes for the . > over > the : speak up on this post. If no viable arguments exist for . over : in one > weeks time, then we close the discussion and : stays. Hehe then I will speak up here for voting for the dot. Remember that we will use namespace crazier than ever due to the new stdlib. Maybe about a third to half of the lines will have keywords with namespacing. Another approach is we enable both . and : then deprecate one of them on the next major version (Eu 5.0). In PHP 4, to get a character from a string [] can be used. But in PHP 5 [] is deprecated (but can be used) and {} is encouraged to be used. However people still uses [] so in PHP 6 the {} is deprecated and [] is encouraged back :D So if we enable : and . for Eu 4, we can see which is more used and deprecate one of them in Eu 5. How do you think?