Searched defs:assertion (Results 1 - 1 of 1) sorted by relevance

/PHP_TRUNK/ext/standard/
H A Dassert.c150 /* {{{ proto int assert(string|bool assertion[, mixed description])
151 Checks if assertion is false */
154 zval *assertion; local
164 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|z", &assertion, &description) == FAILURE) {
168 if (Z_TYPE_P(assertion) == IS_STRING) {
172 myeval = Z_STRVAL_P(assertion);
180 if (zend_eval_stringl(myeval, Z_STRLEN_P(assertion), &retval, compiled_string_description) == FAILURE) {
203 val = zend_is_true(assertion);

Completed in 2 milliseconds