com php-src: Fix tests broken by 'Fix bug #52355': ext/standard /tests/general_functions/debug_zval_dump_b.phpt ext
/standard/tests/general_functions/print_r.phpt ext/stan dard/tests/general_functions/var_dump.phpt ext/standard
/tests/general_functions/var_dump_64bit.phpt
| From: | Andrea Faulds | Date: | Thu, 17 Dec 2015 23:33:24 +0000 |
| Subject: | com php-src: Fix tests broken by 'Fix bug #52355': ext/standard /tests/general_functions/debug_zval_dump_b.phpt ext /standard/tests/general_functions/print_r.phpt ext/stan dard/tests/general_functions/var_dump.phpt ext/standard /tests/general_functions/var_dump_64bit.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90328@lists.php.net to get a copy of this message | ||
Commit: 4e01269082d20f5598c481f122b3eea10a586e2b
Author: Andrea Faulds <ajf@ajf.me> Thu, 17 Dec 2015 23:33:24 +0000
Parents: a4648ded430985e019b446939c4ff5bef36c0b91
Branches: PHP-7.0
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4e01269082d20f5598c481f122b3eea10a586e2b
Log:
Fix tests broken by 'Fix bug #52355'
a4648ded430985e019b446939c4ff5bef36c0b91 broke some tests
Bugs:
https://bugs.php.net/52355
Changed paths:
M ext/standard/tests/general_functions/debug_zval_dump_b.phpt
M ext/standard/tests/general_functions/print_r.phpt
M ext/standard/tests/general_functions/var_dump.phpt
M ext/standard/tests/general_functions/var_dump_64bit.phpt
Diff:
diff --git a/ext/standard/tests/general_functions/debug_zval_dump_b.phpt
b/ext/standard/tests/general_functions/debug_zval_dump_b.phpt
index 6ec2915..ec8e0a6 100644
Binary files a/ext/standard/tests/general_functions/debug_zval_dump_b.phpt and
b/ext/standard/tests/general_functions/debug_zval_dump_b.phpt differ
diff --git a/ext/standard/tests/general_functions/print_r.phpt
b/ext/standard/tests/general_functions/print_r.phpt
index 01ee023..e5b630a 100644
--- a/ext/standard/tests/general_functions/print_r.phpt
+++ b/ext/standard/tests/general_functions/print_r.phpt
@@ -442,9 +442,9 @@ Array
*** Testing print_r() on float variables ***
-- Iteration 1 --
-0
-0
-0
+-0
+-0
+-0
-- Iteration 2 --
0
0
@@ -1605,7 +1605,7 @@ Array
-- Iteration 4 --
Array
(
- [0] => 0
+ [0] => -0
[1] => Where am I?
[2] => Array
(
@@ -1621,7 +1621,7 @@ Array
Array
(
- [0] => 0
+ [0] => -0
[1] => Where am I?
[2] => Array
(
@@ -1637,7 +1637,7 @@ Array
Array
(
- [0] => 0
+ [0] => -0
[1] => Where am I?
[2] => Array
(
diff --git a/ext/standard/tests/general_functions/var_dump.phpt
b/ext/standard/tests/general_functions/var_dump.phpt
index be8c648..9821e95 100644
--- a/ext/standard/tests/general_functions/var_dump.phpt
+++ b/ext/standard/tests/general_functions/var_dump.phpt
@@ -368,7 +368,7 @@ float(-2147483648)
*** Testing var_dump() on float variables ***
-- Iteration 1 --
-float(0)
+float(-0)
-- Iteration 2 --
float(0)
-- Iteration 3 --
@@ -893,7 +893,7 @@ array(4) {
-- Iteration 4 --
array(6) {
[0]=>
- float(0)
+ float(-0)
[1]=>
string(11) "Where am I?"
[2]=>
@@ -1022,7 +1022,7 @@ array(15) {
}
array(32) {
[0]=>
- float(0)
+ float(-0)
[1]=>
float(0)
[2]=>
@@ -1519,7 +1519,7 @@ array(6) {
[3]=>
array(6) {
[0]=>
- float(0)
+ float(-0)
[1]=>
string(11) "Where am I?"
[2]=>
diff --git a/ext/standard/tests/general_functions/var_dump_64bit.phpt
b/ext/standard/tests/general_functions/var_dump_64bit.phpt
index 4545e98..6bbbb3f 100644
--- a/ext/standard/tests/general_functions/var_dump_64bit.phpt
+++ b/ext/standard/tests/general_functions/var_dump_64bit.phpt
@@ -1022,7 +1022,7 @@ array(15) {
}
array(32) {
[0]=>
- float(0)
+ float(-0)
[1]=>
float(0)
[2]=>