]> granicus.if.org Git - php/commitdiff
Test for bug #30069
authorfoobar <sniper@php.net>
Wed, 15 Sep 2004 13:54:16 +0000 (13:54 +0000)
committerfoobar <sniper@php.net>
Wed, 15 Sep 2004 13:54:16 +0000 (13:54 +0000)
ext/standard/tests/math/bug30069.phpt [new file with mode: 0755]

diff --git a/ext/standard/tests/math/bug30069.phpt b/ext/standard/tests/math/bug30069.phpt
new file mode 100755 (executable)
index 0000000..0cdcfc4
--- /dev/null
@@ -0,0 +1,9 @@
+--TEST--
+Bug #30069 (floats as strings used in calculations do not work)
+--FILE--
+<?php
+echo ".1" * "2";
+echo "\n";
+?>
+--EXPECT--
+0.2