[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] &
From:       Chris <listschris () leftbrained ! org>
Date:       2004-05-31 21:28:46
Message-ID: 40BBA38E.2080009 () leftbrained ! org
[Download RAW message or body]

The ampersand indicates that the function is returning by reference:

http://www.php.net/references.return

Chris
René Fournier wrote:

> Oops... I mean, what's the difference between
>
> function &myfunction() {
>     }
>
> and
>
> function myfunction() {
>     }
>
> ?
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic