Like array(), this is not really a function, but a language construct.
list() is used to assign a list of variables in one operation.

Watch out for those "language constructs" which look to us like functions.
Probably related to some folks preferring to write:
if (...
instead of

-----Original Message-----
From: Philip Pryce [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 01, 2006 11:19 AM
Subject: Re: [PHP-DB] Where did my Hard Returns go?

You can't assign a value to a function!
that is actually incorrect, the list(); function assigns a value to a
functions vars.


~Philip Pryce

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to