Re: What is meant by this code?

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

 



At 08:58 PM 1/30/2015, Abdul Abdul wrote:
Hello,

I'm new to PHP. I came across the following code:

....
....
$exif = exif_read_data($image);
foreach ($exif as $key => $section) {
foreach ($section as $name => $val) {
.....
.....

What are we doing here in the "foreach"? What is "as"?

RTFM

http://php.net/manual/en/control-structures.foreach.php

Ken

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