assert.active = On
assert.bail = Off
How does it work?
assert.active = On
assert.bail = Off
How does it work?
If assert.active=on
you can call assert('$x==1')
in your code. If it fails (i.e. $x is something else than 1), depending on the value of assert.bail your script will either terminate or you get a warning. See more in http://www.php.net/manual/en/function.assert.php
From the PHP Manual:
assert.active: Enable assert() evaluation.
assert.bail : Terminate script execution on failed assertions.
You can always find it from php user manual
http://php.net/manual/en/info.configuration.php
assert.active boolean
Enable assert() evaluation.
assert.bail boolean
Terminate script execution on failed assertions.