Assertion Options : Assertion « Language Basics « PHP






Assertion Options

 
Constant Name          Default             Description
 
ASSERT_ACTIVE          true                Are assertions enabled?
 
ASSERT_WARNING         true                Should assertions cause standard PHP warnings?
 
ASSERT_BAIL            false               Should failed assertions cause the script to halt?
 
ASSERT_QUIET_EVAL      false               If an error occurs valuating an assertion when passed a string, should it report an error?
 
ASSERT_CALLBACK        NULL                The name of the function to call if an assertion fails.
  
  








Related examples in the same category

1.Using the assert() Function