Bug #76932 [NEW]: multiplication operation problem
From: ozgur at end dot com dot tr
Operating system: Centos
PHP version: 5.6.38
Package: Scripting Engine problem
Bug Type: Bug
Bug description:multiplication operation problem
Description:
------------
$usd_DS = 5.1254;
$topluyoruz = $usd_DS * $stokbilgi['fiyat'] * $oku['uretimadet'];
not working code
vs
$topluyoruz = 5.1254 * $stokbilgi['fiyat'] * $oku['uretimadet'];
working code
Test script:
---------------
$usd_DS = 5.1254;
$topluyoruz = $usd_DS * $stokbilgi['fiyat'] * $oku['uretimadet'];
not working code
vs
$topluyoruz = 5.1254 * $stokbilgi['fiyat'] * $oku['uretimadet'];
working code
Expected result:
----------------
$usd_DS = 5.1254;
$topluyoruz = $usd_DS * $stokbilgi['fiyat'] * $oku['uretimadet'];
not working code
vs
$topluyoruz = 5.1254 * $stokbilgi['fiyat'] * $oku['uretimadet'];
working code
Actual result:
--------------
$usd_DS = 5.1254;
$topluyoruz = $usd_DS * $stokbilgi['fiyat'] * $oku['uretimadet'];
not working code
vs
$topluyoruz = 5.1254 * $stokbilgi['fiyat'] * $oku['uretimadet'];
working code
--
Edit bug report at https://bugs.php.net/bug.php?id=76932&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76932&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76932&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76932&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76932&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76932&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76932&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76932&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76932&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76932&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76932&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76932&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76932&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76932&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76932&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76932&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76932&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76932&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76932&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76932&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76932&r=mysqlcfg
Thread (4 messages)
- ozgur at end dot com dot tr