mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Fix tests (patch by Lars)
This commit is contained in:
parent
89935d6f7e
commit
ee40f557a7
@ -34,7 +34,7 @@ var_dump(error_reporting());
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
int(16383)
|
||||
int(16383)
|
||||
int(14335)
|
||||
int(32767)
|
||||
int(32767)
|
||||
int(30719)
|
||||
Done
|
||||
|
@ -22,5 +22,5 @@ var_dump(error_reporting());
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
int(14335)
|
||||
int(30719)
|
||||
Done
|
||||
|
@ -23,5 +23,5 @@ var_dump(error_reporting());
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
int(16383)
|
||||
int(32767)
|
||||
Done
|
||||
|
@ -31,5 +31,5 @@ echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Undefined variable: undef2 in %s on line %d
|
||||
int(16383)
|
||||
int(32767)
|
||||
Done
|
||||
|
@ -19,5 +19,5 @@ echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Undefined variable: undef in %s on line %d
|
||||
int(16383)
|
||||
int(32767)
|
||||
Done
|
||||
|
@ -30,5 +30,5 @@ echo "Done\n";
|
||||
Notice: Undefined variable: undef_value in %s on line %d
|
||||
|
||||
Notice: Undefined variable: undef_name in %s on line %d
|
||||
int(14335)
|
||||
int(30719)
|
||||
Done
|
||||
|
@ -26,5 +26,5 @@ var_dump(error_reporting());
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
int(14335)
|
||||
int(30719)
|
||||
Done
|
||||
|
@ -26,5 +26,5 @@ var_dump(error_reporting());
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
int(14335)
|
||||
int(30719)
|
||||
Done
|
||||
|
@ -28,5 +28,5 @@ echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
Notice: Undefined variable: undef3 in %s on line %d
|
||||
int(16383)
|
||||
int(32767)
|
||||
Done
|
||||
|
@ -27,5 +27,5 @@ echo "Done\n";
|
||||
Notice: Undefined variable: blah in %s on line %d
|
||||
|
||||
Notice: Undefined variable: undef2 in %s on line %d
|
||||
int(16383)
|
||||
int(32767)
|
||||
Done
|
||||
|
@ -30,6 +30,6 @@ var_dump(error_reporting());
|
||||
echo "Done\n";
|
||||
?>
|
||||
--EXPECTF--
|
||||
int(14335)
|
||||
int(14327)
|
||||
int(30719)
|
||||
int(30711)
|
||||
Done
|
||||
|
@ -45,7 +45,7 @@ array(25) {
|
||||
["dqstring"]=>
|
||||
string(51) "asdadfsdjkslkj ¡@£$$ { } !^~|¥¥{[()/)&/% ¤ # #"
|
||||
["php_constant"]=>
|
||||
string(5) "14335"
|
||||
string(5) "30719"
|
||||
["user_constant"]=>
|
||||
string(21) "this_is_test_constant"
|
||||
}
|
||||
@ -76,7 +76,7 @@ array(25) {
|
||||
["dqstring"]=>
|
||||
string(41) "asdadfsdjkslkj ¡@£$$€¥¥{[()/)&/%#¤"
|
||||
["php_constant"]=>
|
||||
string(5) "14335"
|
||||
string(5) "30719"
|
||||
}
|
||||
["comments"]=>
|
||||
array(1) {
|
||||
|
@ -15,17 +15,17 @@ array(3) {
|
||||
["error_reporting values"]=>
|
||||
array(6) {
|
||||
["foo"]=>
|
||||
string(7) "14335 8"
|
||||
string(7) "30719 8"
|
||||
["error_reporting"]=>
|
||||
string(5) "14335"
|
||||
string(5) "30719"
|
||||
["error_reporting1"]=>
|
||||
string(4) "4177"
|
||||
["error_reporting2"]=>
|
||||
string(5) "14327"
|
||||
string(5) "30711"
|
||||
["error_reporting3"]=>
|
||||
string(5) "14327"
|
||||
string(5) "30711"
|
||||
["error_reporting4"]=>
|
||||
string(5) "16375"
|
||||
string(5) "32759"
|
||||
}
|
||||
["true or false"]=>
|
||||
array(8) {
|
||||
|
@ -24,7 +24,7 @@ var_dump($php_errormsg);
|
||||
?>
|
||||
--EXPECTF--
|
||||
string(1) "1"
|
||||
string(5) "16383"
|
||||
string(5) "32767"
|
||||
string(1) "0"
|
||||
string(1) "1"
|
||||
string(1) "0"
|
||||
|
@ -24,7 +24,7 @@ var_dump($php_errormsg);
|
||||
?>
|
||||
--EXPECTF--
|
||||
string(1) "1"
|
||||
string(5) "16383"
|
||||
string(5) "32767"
|
||||
string(1) "0"
|
||||
string(1) "1"
|
||||
string(1) "0"
|
||||
|
Loading…
Reference in New Issue
Block a user