From f16b012116d6c015632741a3caada5b30ef8a699 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Thu, 13 Jun 2019 11:28:46 +0200 Subject: fix mac tests on azure --- sapi/cli/php_cli.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sapi/cli/php_cli.c') diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c index 82051758f3..144a610a56 100644 --- a/sapi/cli/php_cli.c +++ b/sapi/cli/php_cli.c @@ -961,6 +961,12 @@ static int do_cli(int argc, char **argv) /* {{{ */ } request_started = 1; CG(start_lineno) = lineno; + + zend_register_bool_constant( + ZEND_STRL("PHP_CLI_PROCESS_TITLE"), + is_ps_title_available() == PS_TITLE_SUCCESS, + CONST_CS, 0); + *arg_excp = arg_free; /* reconstuct argv */ if (hide_argv) { -- cgit v1.2.1