Skip to content

Commit 212de89

Browse files
committed
More test updates
1 parent 5a15629 commit 212de89

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

ext/date/tests/microtime_error.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ float(%s)
4646
int(0)
4747
}
4848
}
49-
microtime(): Argument #1 ($getAsFloat) must be of type bool, array given
49+
microtime(): Argument #1 ($as_float) must be of type bool, array given
5050

5151
--> bad arg: object(stdClass)#%d (0) {
5252
}
53-
microtime(): Argument #1 ($getAsFloat) must be of type bool, stdClass given
53+
microtime(): Argument #1 ($as_float) must be of type bool, stdClass given
5454

5555
--> bad arg: int(1)
5656
float(%s)

ext/phar/tests/fgc_edgecases.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ echo file_get_contents("./hi", 0, $context, 50000);
7171
echo file_get_contents("./hi");
7272
echo file_get_contents("./hi", 0, $context, 0, 0);
7373
?>
74-
file_get_contents(): Argument #5 ($maxlen) must be greater than or equal to 0
74+
file_get_contents(): Argument #5 ($max_length) must be greater than or equal to 0
7575
test
7676
test
7777
<?php

ext/reflection/tests/ReflectionParameter_canBePassedByValue.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ echo "Done.\n";
3737
--EXPECT--
3838
=> array_multisort:
3939

40-
Name: array1
40+
Name: array
4141
Is passed by reference: yes
4242
Can be passed by value: yes
4343

ext/sysvshm/tests/001.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ var_dump(ftok(__FILE__,"q"));
3333
echo "Done\n";
3434
?>
3535
--EXPECTF--
36-
ftok(): Argument #1 ($pathname) cannot be empty
37-
ftok(): Argument #2 ($proj) must be a single character
38-
ftok(): Argument #2 ($proj) must be a single character
36+
ftok(): Argument #1 ($filename) cannot be empty
37+
ftok(): Argument #2 ($project_id) must be a single character
38+
ftok(): Argument #2 ($project_id) must be a single character
3939

4040
Warning: ftok(): ftok() failed - No such file or directory in %s on line %d
4141
int(-1)

sapi/cli/tests/004.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ string(45) "Exception: Function unknown() does not exist
2020
"
2121
string(42) "Exception: Function echo() does not exist
2222
"
23-
string(154) "Function [ <internal:standard> function phpinfo ] {
23+
string(155) "Function [ <internal:standard> function phpinfo ] {
2424

2525
- Parameters [1] {
26-
Parameter #0 [ <optional> int $what = INFO_ALL ]
26+
Parameter #0 [ <optional> int $flags = INFO_ALL ]
2727
}
2828
- Return [ bool ]
2929
}

0 commit comments

Comments
 (0)