diff options
author | Joe Watkins <krakjoe@php.net> | 2019-06-14 12:57:47 +0200 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2019-06-14 12:58:13 +0200 |
commit | 956db0cdc209898e814480013d0b0a235ce3dae1 (patch) | |
tree | eb3bea9f871c3ff22aedd9413767d294dc95e0b7 /sapi/cli/php_cli.c | |
parent | 3e8b456ada1c64006871bf514d40c25467d46f7f (diff) | |
parent | dd10bf5450cbaa2017567f118e27d57136707d8a (diff) | |
download | php-git-956db0cdc209898e814480013d0b0a235ce3dae1.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
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 9605f325df..2f139f0b33 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) { |