Re: Passing functions to function by reference
| From: | Brian Moon | Date: | Thu, 27 Apr 2006 04:44:10 +0000 |
| Subject: | Re: Passing functions to function by reference | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22987@lists.php.net to get a copy of this message | ||
In 5.1 this now throws an E_STRICT instead of a warning. It is still a bad idea to pass a tempvar by reference, so yes, you should strive to write E_STRICT clean code.Yeah, its more of a question of rewriting 6 years of PHP or not. We were half way done when we upgraded the dev machines to 5.1. Brian.