ksugihara Posted March 30, 2010 Share Posted March 30, 2010 I heard that PHP6 will be implementing the 3 colons operator... does anyone know what it does? Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/ Share on other sites More sharing options...
premiso Posted March 30, 2010 Share Posted March 30, 2010 PHP6? I was under the impression that they canned that project At least the code anyways. Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/#findComment-1034257 Share on other sites More sharing options...
ksugihara Posted March 30, 2010 Author Share Posted March 30, 2010 Nope. still in the works. Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/#findComment-1034264 Share on other sites More sharing options...
salathe Posted March 30, 2010 Share Posted March 30, 2010 I heard that PHP6 will be implementing the 3 colons operator... does anyone know what it does? "It" (three colons as an operator) does not exist, nor is it likely that it ever will. Three colons (:::) was one of many ideas put forward for the namespace separator (which is a backwards slash character, e.g. Foo\Bar). Other ideas before the backslash was decided on included (smiley face), ☃ (snowman) and pretty much every character usually printed on a keyboard. More info: http://wiki.php.net/rfc/namespaceseparator PHP6? I was under the impression that they canned that project At least the code anyways. The current code base onto which development happens was recently changed, that's right. However much of the code that was removed will likely get re-introduced again in one form or another over time onto this clean slate. Pushing forward to new and improved PHP certainly wasn't canned, if anything we're more likely to get major PHP updates sooner! Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/#findComment-1034287 Share on other sites More sharing options...
KevinM1 Posted March 30, 2010 Share Posted March 30, 2010 which is a backwards slash character, e.g. Foo\Bar Ugh. Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/#findComment-1034291 Share on other sites More sharing options...
Philip Posted March 30, 2010 Share Posted March 30, 2010 ☃ (snowman) Would be an epic easter egg to hide in there! Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/#findComment-1034297 Share on other sites More sharing options...
ksugihara Posted March 30, 2010 Author Share Posted March 30, 2010 Ahh ok. I guess the triple colon was also considered for Late Static Bindings, which i completely dont understand (but thats a different thread) Quote Link to comment https://forums.phpfreaks.com/topic/197014-what-does-the-3-colons-operator-do-in-php/#findComment-1034303 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.