]> granicus.if.org Git - php/commitdiff
This commit was manufactured by cvs2svn to create branch 'PHP_4_3'.
authorSVN Migration <svn@php.net>
Tue, 18 Jan 2005 09:56:32 +0000 (09:56 +0000)
committerSVN Migration <svn@php.net>
Tue, 18 Jan 2005 09:56:32 +0000 (09:56 +0000)
tests/lang/bug30726.phpt [new file with mode: 0644]

diff --git a/tests/lang/bug30726.phpt b/tests/lang/bug30726.phpt
new file mode 100644 (file)
index 0000000..f979e9a
--- /dev/null
@@ -0,0 +1,8 @@
+--TEST--
+Bug #30726 (-.1 like numbers are not being handled correctly)
+--FILE--
+<?php
+echo (int) is_float('-.1' * 2);
+?>
+--EXPECT--
+1