- assert: documentation ( source)
- assert_options: documentation ( source)
<?php
assert_options( ASSERT_ACTIVE, 0 ) ;
$things = "thing";
$here = "here";
assert( (function() use($things, $here) {
/* statements here */
return false;
})(), new RuntimeException("nope!"));
?>