From f190f26f8f4966badcdfcc8ac90e86fcee00756a Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Thu, 28 Mar 2002 00:26:19 +0000 Subject: [PATCH] list: Added more examples, which demonstrate ,,, syntax See also extract() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@75535 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/array.xml | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/functions/array.xml b/functions/array.xml index c3e7d110d5..8fc10be0de 100644 --- a/functions/array.xml +++ b/functions/array.xml @@ -1,5 +1,5 @@ - + Array Functions Arrays @@ -3127,8 +3127,36 @@ d = lemon Like array, this is not really a function, but a language construct. list is used to assign a list of variables in one operation. + + - <function>list</function> example + <function>list</function> examples + + +]]> + + + + + + An example use of <function>list</function> @@ -3155,7 +3183,8 @@ while (list ($id, $name, $salary) = mysql_fetch_row ($result)) { - See also each and array. + See also each, array + and extract.