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

/PHP_5_5/ext/standard/
H A Dassert.c139 /* {{{ proto int assert(string|bool assertion[, string description])
140 Checks if assertion is false */
143 zval **assertion; local
152 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z|s", &assertion, &description, &description_len) == FAILURE) {
156 if (Z_TYPE_PP(assertion) == IS_STRING) {
160 myeval = Z_STRVAL_PP(assertion);
168 if (zend_eval_stringl(myeval, Z_STRLEN_PP(assertion), &retval, compiled_string_description TSRMLS_CC) == FAILURE) {
189 convert_to_boolean_ex(assertion);
190 val = Z_LVAL_PP(assertion);

Completed in 16 milliseconds