Assert_options
(PHP4 >= 4.0b4)
Assert_options---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Set (get) all kinds of assert flags
Syntax: mixed assert_options (int what [, mixed value])
Description:
With Assert_options () you can set various assert () control options, or simply query their current settings.
Assert options:
Option ini-parameter presets describe assert_active assert.active 1 to enable ASSERT () to compute assert_warning assert.warning 1 assertion publish PHP warning when failure assert_ Bail Assert.bail 0 assertion aborted on failure assert_quiet_eval Assert.quiet_eval 0 cannot be assertion during error_reporting expression calculation ASSERT_ CALLBACK assert_callback (NULL) assertion calling the user function when failure
Assert_options () returns the original set value of any option and returns False when it fails.