diff options
author | Joe Watkins <krakjoe@php.net> | 2019-06-13 11:28:46 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-06-14 12:55:00 +0200 |
commit | f16b012116d6c015632741a3caada5b30ef8a699 (patch) | |
tree | a65b4ade744e6675ffc1509c8d343778f6a1d8b6 /sapi/cli/php_cli.c | |
parent | 8b6b4870e7819c1e03ed128a3a355ab48d5d48a2 (diff) | |
download | php-git-f16b012116d6c015632741a3caada5b30ef8a699.tar.gz |
fix mac tests on azure
Diffstat (limited to 'sapi/cli/php_cli.c')
-rw-r--r-- | sapi/cli/php_cli.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |