Re: What is meant by this code?

From: Date: Sun, 01 Feb 2015 00:51:37 +0000
Subject: Re: What is meant by this code?
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-324355@lists.php.net to get a copy of this message
Aziz, I had to scroll to the end to find out what you said. Please _do_ top post (or sensibly mid-post and trim) as a courtesy to those who are scanning through many emails. Peter West "Other seed fell among thorns, and the thorns grew up and choked it, and it yielded no grain." > On 1 Feb 2015, at 10:44 am, Aziz Saleh <azizsaleh@gmail.com> wrote: > > On Sat, Jan 31, 2015 at 7:39 PM, Abdul Abdul <abdul.sw84@gmail.com> wrote: > >> Lester. >> >> Thanks for your reply. What is confusing me most is: >> >> $exif as $key => $section >> >> I understood the foreach from the manual, and we have to have a key/value. >> But, what is =>? >> >> ... > > Please don't top post, putting your replies on top, should be on bottom of > convo (it is against the rules). > > A good explanation w/example can be found here: > http://stackoverflow.com/a/1241831/1935500 > > In a nutshell it is a separator between the key and value in arrays/objects > used in foreach loops.

« previous php.general (#324355) next »