summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-12-16 10:31:22 -0800
committerStanislav Malyshev <stas@php.net>2019-12-16 10:31:22 -0800
commitd82a2f6c2181106e37079138dea41d7c070d16f2 (patch)
tree96fb763977e254d7439d8235b8d3215cd8a35d09
parent6b010b5d864ccb45e15838b6ca0b1f789e806f97 (diff)
downloadphp-git-d82a2f6c2181106e37079138dea41d7c070d16f2.tar.gz
Test fixes
-rw-r--r--Zend/tests/bug78973.phpt4
-rw-r--r--ext/bcmath/tests/bug78878.phpt1
-rw-r--r--ext/exif/tests/bug78910.phpt4
3 files changed, 4 insertions, 5 deletions
diff --git a/Zend/tests/bug78973.phpt b/Zend/tests/bug78973.phpt
index 5bdd16e402..e18c761ca6 100644
--- a/Zend/tests/bug78973.phpt
+++ b/Zend/tests/bug78973.phpt
@@ -13,5 +13,5 @@ test(new class {
?>
--EXPECTF--
-#0 class@anonymous->__destruct() called at [%s:4]
-#1 test() called at [%s:5]
+#0 class@anonymous->__destruct() called at [%s:%d]
+#1 test() called at [%s:%d]
diff --git a/ext/bcmath/tests/bug78878.phpt b/ext/bcmath/tests/bug78878.phpt
index 2c9d72b946..066d411c90 100644
--- a/ext/bcmath/tests/bug78878.phpt
+++ b/ext/bcmath/tests/bug78878.phpt
@@ -9,5 +9,4 @@ if (!extension_loaded('bcmath')) die('skip bcmath extension not available');
print @bcmul("\xB26483605105519922841849335928742092", bcpowmod(2, 65535, -4e-4));
?>
--EXPECT--
-bc math warning: non-zero scale in modulus
0
diff --git a/ext/exif/tests/bug78910.phpt b/ext/exif/tests/bug78910.phpt
index f5b1c32c1b..2f79e8debc 100644
--- a/ext/exif/tests/bug78910.phpt
+++ b/ext/exif/tests/bug78910.phpt
@@ -7,9 +7,9 @@ var_dump(exif_read_data('data:image/jpg;base64,TU0AKgAAAAwgICAgAAIBDwAEAAAAAgAAA
?>
--EXPECTF--
-Notice: exif_read_data(): Read from TIFF: tag(0x927C, MakerNote ): Illegal format code 0x2020, switching to BYTE in %s on line %d
+Notice: exif_read_data(): Read from TIFF: tag(0x927C, MakerNote): Illegal format code 0x2020, switching to BYTE in %s on line %d
-Warning: exif_read_data(): Process tag(x927C=MakerNote ): Illegal format code 0x2020, suppose BYTE in %s on line %d
+Warning: exif_read_data(): Process tag(x927C=MakerNote): Illegal format code 0x2020, suppose BYTE in %s on line %d
Warning: exif_read_data(): IFD data too short: 0x0000 offset 0x000C in %s on line %d