mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
- Fixed tests
This commit is contained in:
parent
9c51e8e977
commit
cc42ff9fa2
4 changed files with 12 additions and 12 deletions
|
@ -17,6 +17,6 @@ var_dump(`"$php" -n -r 'var_dump("hello");'`);
|
|||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
string(18) "string(5) "hello"
|
||||
string(19) "unicode(5) "hello"
|
||||
"
|
||||
Done
|
||||
|
|
|
@ -18,8 +18,8 @@ var_dump(`"$php" -nd max_execution_time=500 -r 'var_dump(ini_get("max_execution_
|
|||
?>
|
||||
===DONE===
|
||||
--EXPECTF--
|
||||
string(16) "string(3) "111"
|
||||
string(17) "unicode(3) "111"
|
||||
"
|
||||
string(16) "string(3) "500"
|
||||
string(17) "unicode(3) "500"
|
||||
"
|
||||
===DONE===
|
||||
|
|
|
@ -20,13 +20,13 @@ var_dump(`"$php" -n -d upload_tmp_dir=/test/path -d max_execution_time=555 -r 'v
|
|||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
string(16) "string(3) "111"
|
||||
string(17) "unicode(3) "111"
|
||||
"
|
||||
string(16) "string(3) "500"
|
||||
string(17) "unicode(3) "500"
|
||||
"
|
||||
string(16) "string(3) "555"
|
||||
string(17) "unicode(3) "555"
|
||||
"
|
||||
string(40) "string(3) "555"
|
||||
string(10) "/test/path"
|
||||
string(42) "unicode(3) "555"
|
||||
unicode(10) "/test/path"
|
||||
"
|
||||
Done
|
||||
|
|
|
@ -24,11 +24,11 @@ var_dump(`cat "$filename_txt" | "$php" -n -B 'var_dump("start");' -E 'var_dump("
|
|||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
string(18) "string(5) "start"
|
||||
string(19) "unicode(5) "start"
|
||||
"
|
||||
string(16) "string(3) "end"
|
||||
string(17) "unicode(3) "end"
|
||||
"
|
||||
string(34) "string(5) "start"
|
||||
string(3) "end"
|
||||
string(36) "unicode(5) "start"
|
||||
unicode(3) "end"
|
||||
"
|
||||
Done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue