php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9254 Problem in the MSVCRT.DLL file system occurs, when call to number_format()
Submitted: 2001-02-14 05:37 UTC Modified: 2001-04-10 09:58 UTC
From: alkis at skepsi dot gr Assigned:
Status: Closed Package: Filesystem function related
PHP Version: 4.0.4 OS: Windows 95
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alkis at skepsi dot gr
New email:
PHP Version: OS:

 

 [2001-02-14 05:37 UTC] alkis at skepsi dot gr
Here is the message tha crushes php.exe after calling the "number_format" data function, under Windows 95:

-------------------------------------
PHP caused an invalid page fault in
module MSVCRT.DLL at 014f:7800d0b9.
Registers:
EAX=00730078 CS=014f EIP=7800d0b9 EFLGS=00010206
EBX=00000000 SS=0157 ESP=0063fae4 EBP=0063fb00
ECX=00000160 DS=0157 ESI=0086356c FS=0fcf
EDX=00000000 ES=0157 EDI=00000004 GS=0000
Bytes at CS:EIP:
89 5a 04 8b 55 0c 89 4d fc 8b 5a 04 8b 52 08 89 
Stack dump:
00734240 00863570 00863580 007309cc 00000000 00000560 00000160 0063fb44 7800cc1c 0083000c 008636cc 00734240 00863570 00863580 ffe2906d bff798cf 

------------------------
I have not test this function under windows 2000 yet, but at a first use under windows 95, this problem occured.
Maybe it's just something with my windows 95, but anyway I thought I'd better mention it to you. I'll test this under Windows 2000 too, and let you know also about this.

Thank you for your Attention, and I'd like to thank you for the programming language you support. I think it's the best of all the web programming ones I've learned till now. Very powerfull, and very friendly to C's and perl's developers.

Thank you again,

                  Alkis Doulgeris

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-17 17:45 UTC] sbergmann@php.net
Just tested 

  <?php
    $my_float = 2.683526; 
    $new_number = number_format($my_float,2);
    echo $new_number;
  ?>

on Windows 2000 Professional with PHP 4.0.5-dev built from CVS today, and it did not crash.

Could you please recheck your script with a current snapshot of PHP, available through either CVS or at http://snaps.php.net/.

 [2001-04-10 09:58 UTC] sniper@php.net
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 11:01:30 2024 UTC