]> granicus.if.org Git - php/commitdiff
adedd test for bug #68797
authorAnatol Belski <ab@php.net>
Tue, 17 Mar 2015 18:47:01 +0000 (19:47 +0100)
committerAnatol Belski <ab@php.net>
Tue, 17 Mar 2015 21:11:28 +0000 (22:11 +0100)
Zend/tests/bug68797.phpt [new file with mode: 0644]

diff --git a/Zend/tests/bug68797.phpt b/Zend/tests/bug68797.phpt
new file mode 100644 (file)
index 0000000..c192ebd
--- /dev/null
@@ -0,0 +1,13 @@
+--TEST--
+Bug #68797 Number 2.2250738585072012e-308 converted incorrectly
+--INI--
+precision=17
+--FILE--
+<?php
+
+echo 2.2250738585072012e-308, "\n"; 
+?>
+==DONE==
+--EXPECT--     
+2.2250738585072014E-308
+==DONE==