Re: [PEPr] Comment on RFC::EvalForbiddance
| From: | Martin Jansen | Date: | Tue, 16 Aug 2005 15:00:36 +0000 |
| Subject: | Re: [PEPr] Comment on RFC::EvalForbiddance | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-39415@lists.php.net to get a copy of this message | ||
On Tue Aug 16, 2005 at 02:0611PM -0000, Clay Loveless wrote:
> This seems like a good idea in general, but there are cases where eval is
> the only way to go -- such as this snippet to simultaneously avoid is_a()
> deprecation notices in PHP5, and parse errors in PHP4:
That's why I explicitely mentioned the possibility of making exceptions to
the rule.
- Martin