mirror of
https://github.com/php/php-src.git
synced 2026-04-24 08:28:26 +02:00
Test for bug #24054
This commit is contained in:
@@ -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)
|
||||
Reference in New Issue
Block a user