RE: [PHP-DB] Where did my Hard Returns go?
| From: | Dwight Altman | Date: | Wed, 01 Mar 2006 17:36:47 +0000 |
| Subject: | RE: [PHP-DB] Where did my Hard Returns go? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41354@lists.php.net to get a copy of this message | ||
Like array(), this is not really a function, but a language construct.
list() is used to assign a list of variables in one operation.
http://php.he.net/manual/en/function.list.php
Watch out for those "language constructs" which look to us like functions.
Probably related to some folks preferring to write:
if (...
instead of
if(...
-----Original Message-----
From: Philip Pryce [mailto:philip.waters.pryce@gmail.com]
Sent: Wednesday, March 01, 2006 11:19 AM
To: php-db@lists.php.net
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