Merge branch 'PHP-7.4'

This commit is contained in:
Nikita Popov 2019-05-29 17:07:52 +02:00
commit 693955c5c5
5 changed files with 6 additions and 29 deletions

View File

@ -746,7 +746,7 @@ HELP;
$ignored_by_ext = 0;
sort($exts_to_test);
$test_dirs = array();
$optionals = array('tests', 'ext', 'Zend');
$optionals = array('Zend', 'tests', 'ext', 'sapi');
foreach ($optionals as $dir) {
if (is_dir($dir)) {

View File

@ -97,21 +97,23 @@ string(%d) "Extension [ <persistent> extension #%d pcre version %s ] {
}
Function [ <internal:pcre> function preg_replace_callback ] {
- Parameters [5] {
- Parameters [6] {
Parameter #0 [ <required> $regex ]
Parameter #1 [ <required> $callback ]
Parameter #2 [ <required> $subject ]
Parameter #3 [ <optional> $limit ]
Parameter #4 [ <optional> &$count ]
Parameter #5 [ <optional> $flags ]
}
}
Function [ <internal:pcre> function preg_replace_callback_array ] {
- Parameters [4] {
- Parameters [5] {
Parameter #0 [ <required> $pattern ]
Parameter #1 [ <required> $subject ]
Parameter #2 [ <optional> $limit ]
Parameter #3 [ <optional> &$count ]
Parameter #4 [ <optional> $flags ]
}
}
Function [ <internal:pcre> function preg_filter ] {

View File

@ -1,11 +0,0 @@
--TEST--
cli_get_process_title() function : error conditions
--CREDITS--
Patrick Allaert patrickallaert@php.net
@nephp #nephp17
--FILE--
<?php
cli_get_process_title("foo");
?>
--EXPECTF--
Warning: cli_get_process_title() expects exactly 0 parameters, 1 given in %scli_get_process_title_error.php on line 2

View File

@ -1,14 +0,0 @@
--TEST--
cli_set_process_title() function : error conditions
--CREDITS--
Patrick Allaert patrickallaert@php.net
@nephp #nephp17
--FILE--
<?php
cli_set_process_title();
cli_set_process_title("foo", "bar");
?>
--EXPECTF--
Warning: cli_set_process_title() expects exactly 1 parameter, 0 given in %scli_set_process_title_error.php on line 2
Warning: cli_set_process_title() expects exactly 1 parameter, 2 given in %scli_set_process_title_error.php on line 3

View File

@ -26,7 +26,7 @@ prompt> halloarray(2) {
[4]=>
int(1)
[5]=>
int(3)
int(2)
[8]=>
int(2)
}