]> granicus.if.org Git - php/commitdiff
Test for bug #24054
authorfoobar <sniper@php.net>
Fri, 6 Jun 2003 11:09:55 +0000 (11:09 +0000)
committerfoobar <sniper@php.net>
Fri, 6 Jun 2003 11:09:55 +0000 (11:09 +0000)
tests/lang/bug24054.phpt [new file with mode: 0644]

diff --git a/tests/lang/bug24054.phpt b/tests/lang/bug24054.phpt
new file mode 100644 (file)
index 0000000..6800cb3
--- /dev/null
@@ -0,0 +1,17 @@
+--TEST--
+Bug #24054 (Assignment operator *= broken)
+--FILE--
+<?php
+
+       $i = 10000000;
+       $i *= 1001;
+
+       $j = 10000000;
+       $j = $j * 1001;
+
+       var_dump($i,$j);
+
+?>
+--EXPECT--
+float(1.001E+10)
+float(1.001E+10)