mirror of
https://github.com/php/php-src.git
synced 2024-11-24 18:34:21 +08:00
Merge branch 'PHP-7.4'
This commit is contained in:
commit
be8247101d
@ -1084,7 +1084,8 @@ static int do_cli(int argc, char **argv) /* {{{ */
|
||||
zval_ptr_dtor(&tmp);
|
||||
EG(exception) = NULL;
|
||||
} else {
|
||||
zend_call_method_with_1_params(NULL, reflection_ptr, NULL, "export", NULL, &ref);
|
||||
zend_print_zval(&ref, 0);
|
||||
zend_write("\n", 1);
|
||||
}
|
||||
zval_ptr_dtor(&ref);
|
||||
zval_ptr_dtor(&arg);
|
||||
|
@ -9,9 +9,9 @@ include "skipif.inc";
|
||||
--FILE--
|
||||
<?php
|
||||
include "php_cli_server.inc";
|
||||
php_cli_server_start('var_dump($_SERVER["CONTENT_TYPE"], $_SERVER["CONTENT_LENGTH"])');
|
||||
php_cli_server_start('var_dump(isset($_SERVER["CONTENT_TYPE"]), isset($_SERVER["CONTENT_LENGTH"]))');
|
||||
echo file_get_contents("http://" . PHP_CLI_SERVER_ADDRESS);
|
||||
?>
|
||||
--EXPECT--
|
||||
NULL
|
||||
NULL
|
||||
bool(false)
|
||||
bool(false)
|
||||
|
Loading…
Reference in New Issue
Block a user