php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19949 Modulo dividing error
Submitted: 2002-10-17 03:49 UTC Modified: 2002-11-10 18:22 UTC
From: fft at top2 dot pl Assigned:
Status: No Feedback Package: *Math Functions
PHP Version: 4.2.2 OS: Linux-2.4.18 i686
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-10-17 03:49 UTC] fft at top2 dot pl
$n=xxx99;
$nmod=$n%100;
echo $nmod;
//returned incorrect value 98

./configure --prefix=/my/prefix/path --sysconfdir=/my_sysconfig_dir --with-config-file-path=/my_config_file_path --with-mm --with-mysql=/path_to_mysql --enable-track-vars --enable-trans-sid --enable-globals --enable-ftp --with-openssl --enable-sockets --enable-rule=EAPI --enable-inline-optimization --enable-bcmath

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-17 03:51 UTC] derick@php.net
Please provide a full script that is a short as possible and does nto rely on external resources like databases.
We should be able to reproduce it by simply copying and pasting your example.

Derick
 [2002-11-10 18:22 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Dec 05 12:03:38 2021 UTC