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

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

Completed in 3 milliseconds