> 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 <
cryptocompr...@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
>
>

Reply via email to