]> granicus.if.org Git - php/commitdiff
MFH: update test to include negative floats as strings too
authorfoobar <sniper@php.net>
Mon, 10 Jan 2005 16:00:32 +0000 (16:00 +0000)
committerfoobar <sniper@php.net>
Mon, 10 Jan 2005 16:00:32 +0000 (16:00 +0000)
ext/standard/tests/math/bug30069.phpt

index 0cdcfc4ab000c9bc6fb33572621ec9a13c15869a..5e3246c51cc97861198c7d49797149a7510d68d3 100755 (executable)
@@ -4,6 +4,9 @@ Bug #30069 (floats as strings used in calculations do not work)
 <?php
 echo ".1" * "2";
 echo "\n";
+echo "-.1" * "2";
+echo "\n";
 ?>
 --EXPECT--
 0.2
+-0.2