php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28838 bcmod aborts with Access Violation
Submitted: 2004-06-18 21:47 UTC Modified: 2004-06-18 22:13 UTC
From: steve dot gilbreth at autodesk dot com Assigned:
Status: Not a bug Package: BC math related
PHP Version: 5.0.0RC3 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
19 + 4 = ?
Subscribe to this entry?

 
 [2004-06-18 21:47 UTC] steve dot gilbreth at autodesk dot com
Description:
------------
The bcmod function aborts with an Access Violation:

PHP has encountered an Access Violation at 01E22BAB


Running Windows 200 server with IIS 5.0 in ISAPI

Reproduce code:
---------------
In the following code sample if $flip = 0 then we crash and burn.

		if (bcmod($flip, 2) == "0") {
			//do stuff
		}

Actual result:
--------------
PHP has encountered an Access Violation at 01E22BAB

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-18 22:13 UTC] pollita@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

We're aware of this issue and are working on tracking it down.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 08:01:28 2024 UTC