diff options
author | foobar <sniper@php.net> | 2003-06-06 11:09:55 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2003-06-06 11:09:55 +0000 |
commit | c8c45d14dac9fffc3c2dcd9130e513f302aaea73 (patch) | |
tree | 17f9006ce1a0d19dadc794201a69466e7d5b9b9a /tests | |
parent | 5a7257f6e216db0cc3f4956531931943974a0480 (diff) | |
download | php-git-c8c45d14dac9fffc3c2dcd9130e513f302aaea73.tar.gz |
Test for bug #24054
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lang/bug24054.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/lang/bug24054.phpt b/tests/lang/bug24054.phpt new file mode 100644 index 0000000000..6800cb39b4 --- /dev/null +++ b/tests/lang/bug24054.phpt @@ -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) |