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 (ie $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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.