[prev in list] [next in list] [prev in thread] [next in thread]
List: gallery-devel
Subject: Re: [Gallery-devel] & before function name
From: Beckett Madden-Woods <beckett () beckettmw ! com>
Date: 2006-04-26 13:46:24
Message-ID: 20060426134624.GA84831 () beckettmw ! com
[Download RAW message or body]
On Wed, Apr 26, 2006 at 12:04:44PM +0200, Jens A. Tkotz wrote:
> Please no short answers like "RFTM" or "call by reference"
Return by reference. OMGWTF RTFM!!!!
[de] http://www.php.net/manual/de/language.references.return.php
[en] http://www.php.net/manual/en/language.references.return.php
Just kidding ;)
I put up a small example here. Maybe it's more helpful:
http://tools.gallery2.org/pastebin/268
Notice to return by reference successfully, the assignment must use
"=&" and not "="... so you *really* know when you have a reference, I
guess :?
-BMW
--
| Beckett Madden-Woods | beck@beckettmw.com
| 1 Fourth St #4 | (203) 858-5183
| Norwalk, CT 06855-2403 |
|_________________________________________________
w c(..)o w
\__(-) __/
/\/\ (
m/ m/ \__)
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
__[ g a l l e r y - d e v e l ]_________________________
[ list info/archive --> http://gallery.sf.net/lists.php ]
[ gallery info/FAQ/download --> http://gallery.sf.net ]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic