Date: 11/10/00
- Next message: Sebastian Bergmann: "[PHP-DEV] Re: PHP 4.0 Bug #6457 Updated: DOM XML functions are misbehaving"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- Reply: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> PHP 4.0.4 will be the first version of PHP that does not allow you to
> send anything by reference unless it is a variable (as opposed to a
> function call return value, for instance).
this does not work anymore!
is this supposed not to work anymore regardless of what a method returns?
$foo->foo($foo2->foo());
if so it should be documented, it is unexpected behaviour and I donīt
understand it at all, donīt you agree that only moving...
$foo->foo($foo2->foo());
to...
$foo_tmp=&$foo2->foo();
$foo->foo($foo_tmp);
is a step backwards in language? if itīs not intended, itīs a bug again...
andré
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Sebastian Bergmann: "[PHP-DEV] Re: PHP 4.0 Bug #6457 Updated: DOM XML functions are misbehaving"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- In reply to: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- Next in thread: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- Reply: Zeev Suraski: "Re: [PHP-DEV] $obj = new foo() patch"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

