Re: What is meant by this code?
| From: | Ken Robinson | Date: | Sat, 31 Jan 2015 02:06:08 +0000 |
| Subject: | Re: What is meant by this code? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-324347@lists.php.net to get a copy of this message | ||
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