Jump to content

What does the 3 colons operator do in PHP?


ksugihara

Recommended Posts

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 :P 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! 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.