Date: 12/15/99
- Next message: Dirk Nehring: "Re: [PHP-DEV] Re: PHP 4.0 Bug #2754 Updated: OCI8 doesn't work"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2963 Updated: Apache 1.3.4 dumps core. Segfault at at zend_hash.c:135"
- In reply to: Zeev Suraski: "[PHP-DEV] Fwd: Re: BYREF_DENY"
- Next in thread: Joey: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Reply: Joey: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Reply: zeev <email protected>: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 14 Dec 1999, Zeev Suraski wrote:
[Zeev]
| We're seriously considering stating that this notation will be deprecated
| in future versions of PHP/Zend. It'll definitely break tons of existing
| code, which is why we have to be very careful about it, and provide people
| with automated script checkers and such. What do you think?
[Andrei]
| I think it's a good idea, even thought it will break existing code. You
| shouldn't arbitrarily define at the call level whether an argument is
| passed by reference or by value - that's giving too much power to sloppy
| programmers.
I disagree. Sometimes the programmer using a function knows better
whether it makes sense to pass something by reference. The way I read
this discussion is that you wanted to make the decision of whether the
argument should be passed by referene done by the called function only. If
that is the case, consider this a -1. What would be nice though, is a way
for a function to declare that it always refuses to accept arguments by
reference. If that is what you meant, consider this a +1 :-)
- Stig
-- 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: Dirk Nehring: "Re: [PHP-DEV] Re: PHP 4.0 Bug #2754 Updated: OCI8 doesn't work"
- Previous message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #2963 Updated: Apache 1.3.4 dumps core. Segfault at at zend_hash.c:135"
- In reply to: Zeev Suraski: "[PHP-DEV] Fwd: Re: BYREF_DENY"
- Next in thread: Joey: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Reply: Joey: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Reply: Andrei Zmievski: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Reply: zeev <email protected>: "Re: [PHP-DEV] Fwd: Re: BYREF_DENY"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

