- assert: documentation ( source)
- ini_set: documentation ( source)
<?php
ini_set('zend.assertions', -1);
$things = "thing";
$here = "here";
assert( (function() use($things, $here) {
/* statements here */
return false;
})(), new RuntimeException("nope!"));
?>