Re: What is meant by this code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> wrote:
> 
> On Sat, Jan 31, 2015 at 7:39 PM, Abdul Abdul <abdul.sw84@xxxxxxxxx> 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.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux