On 11/15/2012 11:53 AM, Will Fitch wrote: > On Thu, Nov 15, 2012 at 2:48 PM, Stas Malyshev <smalys...@sugarcrm.com>wrote: > >> Hi! >> >>> Again, though, this is a long way down the road: today's discussion is >>> purely about deprecation. >> >> So these people using mysql-based code will have for years to live with >> applications generating thousands of warnings and not be able to do a > > thing about it? How is it good for them? >> > > I don't mean to state the obvious, but wouldn't display_errors = 'Off' in > production or error_reporting = E_ALL ^ E_DEPRECATED be sufficient? This > is the same approach taken with register_globals - and it happened between > 5.3 and 5.4.
Actually, no it wouldn't. You still get the overhead of the error, plus any custom error handlers will be triggered regardless of the error_reporting setting which depending on the implementation of the error handler can be quite costly performance-wise. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php