Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dynamically Typed:
What do you call this - "=>"?
Sep 27, 2005 @ 10:55:42

In this new post on the SitePoint PHP blog today, Kevin Yank he talks quickly about the "=>" operator in PHP, and what it's actually called.

Okay, so if you code PHP regularly I probably haven't told you anything you don't already know. But here's the twist: what do you call the => operator in that last code sample? C'mon—it must have a name, right? As it turns out, no official name is documented in the PHP manual...so what do you call it?

Reportedly it’s called the "double arrow" in the source code to PHP, but that’s only slightly better than "that little arrowey thing." What do you think it should be called?

And, of course, there are plenty of responses, ranging from "arrowhead" to "access pointer" to "a pointer" (my personal preference).

Any suggestions from the crowd out there as to what to call this: "=>" ?

tagged:

Link:


Trending Topics: