mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
Merge branch 'PHP-7.4'
This commit is contained in:
commit
693955c5c5
@ -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)) {
|
||||
|
@ -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 ] {
|
||||
|
@ -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
|
@ -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
|
@ -26,7 +26,7 @@ prompt> halloarray(2) {
|
||||
[4]=>
|
||||
int(1)
|
||||
[5]=>
|
||||
int(3)
|
||||
int(2)
|
||||
[8]=>
|
||||
int(2)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user