Re: zend2 design "arhitecture"
| From: | Andi Gutmans | Date: | Fri, 28 Jun 2002 06:23:26 +0000 |
| Subject: | Re: zend2 design "arhitecture" | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85646@lists.php.net to get a copy of this message | ||
delete is a keyword like isset and unset so it makes sense for it to be without the __.
Andi
At 11:41 AM 6/27/2002 +0200, Tit \"Black\" Petric wrote:
[quote ZEND_CHANGES.txt]* Forced deletion of objects... yadda ..Note that if you have a user-defined function delete() in an old script, this script will yield a parser error with the Zend Engine 2.0, since 'delete' is now a reserved word.[/quote] if you chose internal functions for constructors, destructors, object cloning, and other runtime-critical-operations to have a prefixed "__", why did you choose "delete" over "__delete" ? regards, black -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php