PHP 4.0 Bug #3743: Arithmetic Operator "/" seems to fail
| From: | mike at hoodlum dot net | Date: | Mon, 06 Mar 2000 16:40:23 +0000 |
| Subject: | PHP 4.0 Bug #3743: Arithmetic Operator "/" seems to fail | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16456@lists.php.net to get a copy of this message | ||
From: mike@hoodlum.net
Operating system: linux 2.3.x / Apache/1.3.12 (Unix) AuthMySQL/2.20 mod_perl/1.21 PHP/4.0b4pl1
mod_ssl/2.6.2 OpenSSL/0.9.5
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Scripting Engine problem
Bug description: Arithmetic Operator "/" seems to fail
I am trying to use some arthimetic operators:
$totalkeyrate= (((1000*$maxblocks)/322)/($working_secs/86400));
as result I receive: Fatal error: Unsupported operand types in file xyz on line xyz.
for debugging I replaced "/" with "+" and it worked fine....
What am I doing wrong?
under php3 it works fine....
Mike