mirror of
https://github.com/php/php-src.git
synced 2024-12-15 21:05:51 +08:00
- Tests for parsing parameter api
This commit is contained in:
parent
827b772c9f
commit
0674689940
@ -20,12 +20,12 @@ echo "Done\n";
|
||||
--EXPECTF--
|
||||
*** Testing Error Conditions ***
|
||||
|
||||
Warning: Wrong parameter count for fprintf() in %s on line %d
|
||||
Warning: fprintf() expects at least %d parameters, %d given in %s on line %d
|
||||
NULL
|
||||
|
||||
Warning: Wrong parameter count for fprintf() in %s on line %d
|
||||
Warning: fprintf() expects at least %d parameters, %d given in %s on line %d
|
||||
NULL
|
||||
|
||||
Warning: Wrong parameter count for fprintf() in %s on line %d
|
||||
Warning: fprintf() expects at least %d parameters, %d given in %s on line %d
|
||||
NULL
|
||||
Done
|
||||
|
@ -227,7 +227,7 @@ printf("%d", $tempstring);
|
||||
--EXPECTF--
|
||||
*** Output for zero argument ***
|
||||
|
||||
Warning: Wrong parameter count for printf() in %s on line %d
|
||||
Warning: printf() expects at least %d parameter, %d given in %s on line %d
|
||||
|
||||
*** Output for insufficient number of arguments ***
|
||||
|
||||
|
@ -39,7 +39,7 @@ echo "Done";
|
||||
|
||||
-- Testing sprintf() function with Zero arguments --
|
||||
|
||||
Warning: Wrong parameter count for sprintf() in %s on line %d
|
||||
Warning: sprintf() expects at least %d parameter, %d given in %s on line %d
|
||||
bool(false)
|
||||
|
||||
-- Testing sprintf() function with less than expected no. of arguments --
|
||||
|
@ -31,7 +31,7 @@ echo "Done";
|
||||
|
||||
-- Testing vsprintf() function with Zero arguments --
|
||||
|
||||
Warning: Wrong parameter count for vsprintf() in %s on line %d
|
||||
Warning: vsprintf() expects at least %d parameter, %d given in %s on line %d
|
||||
bool(false)
|
||||
|
||||
-- Testing vsprintf() function with less than expected no. of arguments --
|
||||
|
Loading…
Reference in New Issue
Block a user