Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001106 [Quercus] minor always 05-12-06 21:44 05-15-06 15:20
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.0.20 Product Version 3.0.19
  Product Build
Summary 0001106: Modulo operator shouldn't return fractional values
Description The "%" operator should always return an integer. In Zend PHP, 1.5 % 2 = 1. In Quercus, 1.5 % 2 = 1.5. (Arguably Quercus is doing the mathematically correct thing, but existing code will break.)

<?php
print 1.5 % 2;
?>
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0001130)
ferg
05-15-06 15:20

php/0323, php/3323
 

- Issue History
Date Modified Username Field Change
05-12-06 21:44 koreth New Issue
05-15-06 15:20 ferg Note Added: 0001130
05-15-06 15:20 ferg Assigned To  => ferg
05-15-06 15:20 ferg Status new => closed
05-15-06 15:20 ferg Resolution open => fixed
05-15-06 15:20 ferg Fixed in Version  => 3.0.20


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker