Re: RFC: Expectations

From: Date: Mon, 16 Feb 2015 10:32:30 +0000
Subject: Re: RFC: Expectations
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-82808@lists.php.net to get a copy of this message
> is there any penalty of catch-AssertionException-blocks? Are those eliminated in production code? Assertions should never be enabled in production code, the ability to catch (and enable by configuration) the exception serves the developer of the code during development only. The example code is bad, I'll clear this up. Cheers Joe On Mon, Feb 16, 2015 at 10:11 AM, Crypto Compress < cryptocompress@googlemail.com> wrote: > Hi Joe, > > is there any penalty of catch-AssertionException-blocks? Are those > eliminated in production code? > > Thanks > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.internals (#82808) next »