Mega Code Archive

 
Categories / Php / Language Basics
 

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.