|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #47732 ceil function add incorrect characters at the end
Submitted: 2009-03-20 14:35 UTC Modified: 2009-03-20 16:04 UTC
From: egorich at junik dot lv Assigned: pajoye (profile)
Status: Not a bug Package: Math related
PHP Version: 5.2.9 OS: Windows 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: egorich at junik dot lv
New email:
PHP Version: OS:


 [2009-03-20 14:35 UTC] egorich at junik dot lv
When using ceil(3350/200) I get 2 more symbols (.:) at the end of the result;

Using PHP 5.2.9-1

Reproduce code:
echo ceil(3350/200);

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-20 14:40 UTC]
check your script, there is certainly some trailing characters (or badly enconded).

C:\Users\pierre\Documents\test\php529-1>php -r "echo ceil(3350/200);"
 [2009-03-20 16:00 UTC]
ok, seems that other are experiencing the same problem.

What is the last PHP version working correctly on your machine? Can you try with 5.2.8?

I also need to know the exact version of windows, which service pack, architecture (x86 or x64), etc.
 [2009-03-20 16:04 UTC]
Please reply in #47304 (duplicated).
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 09 21:05:46 2022 UTC