Re: [RFC] [PHP 6] Uniform Variable Syntax
| From: | Stas Malyshev | Date: | Tue, 10 Jun 2014 23:09:10 +0000 |
| Subject: | Re: [RFC] [PHP 6] Uniform Variable Syntax | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74834@lists.php.net to get a copy of this message | ||
Hi!
> If accepted, it would be a good thing to add notices in 5.6 as well,
> if it does not impact performance too much.
I wouldn't be that fast with it, since notices are very expensive
(compared to regular opcodes), and disabling them via error_level does
nothing to mitigate that effect, and may easily lead to breakage in
systems which have custom handlers - like unit tests, monitoring, etc.
When we're going to 6, it's good to break things we want to change. When
we're talking about 5.6, less disruption to existing working code the
better.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227