Split IS_BOOL into IS_FALSE and IS_TRUE

This commit is contained in:
Dmitry Stogov 2014-04-30 18:32:42 +04:00
parent 6a911e833f
commit 17d027ed47
55 changed files with 1158 additions and 708 deletions

View file

@ -2128,7 +2128,7 @@ static int php_cli_server_dispatch_router(php_cli_server *server, php_cli_server
zval retval;
if (SUCCESS == zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, &retval, 1, &zfd)) {
if (Z_TYPE(retval) != IS_UNDEF) {
decline = Z_TYPE(retval) == IS_BOOL && !Z_LVAL(retval);
decline = Z_TYPE(retval) == IS_FALSE;
zval_ptr_dtor(&retval);
}
} else {