Quantcast
Channel: Projects at SwaggerUnit
Viewing all articles
Browse latest Browse all 44

foreach construct in PHP 4, PHP 5

$
0
0
The foreach construct provides an easy way to iterate over arrays. foreach works only on arrays and objects, and will issue an error when you try to use it on a variable with a different data type or an uninitialized variable. There are two syntaxes: foreach (array_expression as $value) statement foreach (array_expression as $key => $value) statement   The [...]

Viewing all articles
Browse latest Browse all 44

Trending Articles