RE: Where did my Hard Returns go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Sent: Wednesday, March 01, 2006 11:19 AM
To: php-db@xxxxxxxxxxxxx
Subject: Re:  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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux