mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Split IS_BOOL into IS_FALSE and IS_TRUE
This commit is contained in:
parent
6a911e833f
commit
17d027ed47
55 changed files with 1158 additions and 708 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue