fix mac tests on azure

This commit is contained in:
Joe Watkins 2019-06-13 11:28:46 +02:00
parent 8b6b4870e7
commit f16b012116
No known key found for this signature in database
GPG key ID: F9BA0ADA31CBD89E
19 changed files with 64 additions and 96 deletions

View file

@ -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) {