Re: What is meant by this code?

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

 



On 01/02/15 00:39, Abdul Abdul wrote:
> 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 =>?

Others have commented  - lost in the debate on top posting.

My way of reading this is the top level of the 'array' $exif is scanned
and provides a list of $key values, the content of which are copied (=>)
to $section

Each pass through foreach will read a top level entry from $exif and opy
the key name to $key and the content of that to $section.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

-- 
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