PHP options and Information function library: assert_options

Source: Internet
Author: User
Keywords assert_options php option php Chinese function manual information function library
Tags aliyun function function library get html http information information function library

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.