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! 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.