freedomflyer Posted August 12, 2008 Share Posted August 12, 2008 Hi everyone, I'm having a huge problem...I have no idea what this is => What is => ? It seems like some assignment operator of some sort...anyway, it would help if I could be told. Thanks! Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/ Share on other sites More sharing options...
.josh Posted August 12, 2008 Share Posted August 12, 2008 I don't think it has an officially official name, but it is indeed an assignment operator for arrays. key => value $names = array('Firstname' => 'John', 'Lastname' => 'Doe'); You can also use it in foreach loops to make use of the keys and values foreach($array as $key => $val) { echo "key: $key val: $val <br />"; } Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614577 Share on other sites More sharing options...
effigy Posted August 12, 2008 Share Posted August 12, 2008 I've seen it referred to as a "fat arrow" or "fat comma" in the Perl community. Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614593 Share on other sites More sharing options...
akitchin Posted August 12, 2008 Share Posted August 12, 2008 in some circles, it's also know interchangeably as "that thing with the equal sign and greater-than sign" and "whatever makes that foreach thing go." Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614761 Share on other sites More sharing options...
Daniel0 Posted August 12, 2008 Share Posted August 12, 2008 You could check the PHP source to see what it's called internally. Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614767 Share on other sites More sharing options...
tibberous Posted August 12, 2008 Share Posted August 12, 2008 That's an ePenis, a short one. I'd show you mine, but this is a public forum. Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614789 Share on other sites More sharing options...
revraz Posted August 12, 2008 Share Posted August 12, 2008 And plus, they don't make keyboard characters that small. That's an ePenis, a short one. I'd show you mine, but this is a public forum. Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614845 Share on other sites More sharing options...
tibberous Posted August 12, 2008 Share Posted August 12, 2008 c-- <= They do too... Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614962 Share on other sites More sharing options...
effigy Posted August 12, 2008 Share Posted August 12, 2008 That's enough. Locked. Link to comment https://forums.phpfreaks.com/topic/119308-what-is-i-cannot-find-it-on-the-internet/#findComment-614964 Share on other sites More sharing options...
Recommended Posts