From 3e01f5afb1b52fe26a956190296de0192eedeec1 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 15 Jan 2021 12:30:54 +0100 Subject: Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias. --- sapi/cli/php_cli_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/cli/php_cli_server.c') diff --git a/sapi/cli/php_cli_server.c b/sapi/cli/php_cli_server.c index 636e1de122..49601c0742 100644 --- a/sapi/cli/php_cli_server.c +++ b/sapi/cli/php_cli_server.c @@ -1174,7 +1174,7 @@ static void php_cli_server_log_response(php_cli_server_client *client, int statu { int color = 0, effective_status = status; char *basic_buf, *message_buf = "", *error_buf = ""; - zend_bool append_error_message = 0; + bool append_error_message = 0; if (PG(last_error_message)) { if (PG(last_error_type) & E_FATAL_ERRORS) { @@ -2744,7 +2744,7 @@ int do_cli_server(int argc, char **argv) /* {{{ */ sapi_module.phpinfo_as_text = 0; { - zend_bool ipv6 = strchr(server.host, ':'); + bool ipv6 = strchr(server.host, ':'); php_cli_server_logf( PHP_CLI_SERVER_LOG_PROCESS, "PHP %s Development Server (http://%s%s%s:%d) started", -- cgit v1.2.1