From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.7-STABLE
PHP version:      4CVS-2003-02-13 (stable)
PHP Bug Type:     Reproducible crash
Bug description:  number_format dumps core (Bus error)

-bash-2.05b# php
<?php
        print number_format((1/10240)*100,1);
?>
Bus error (core dumped)
-bash-2.05b# php -v
PHP 4.3.1-dev (cli) (built: Jan 30 2003 17:53:50)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
-bash-2.05b# uname -a
FreeBSD mail.atl.lv 4.7-STABLE FreeBSD 4.7-STABLE #3: Sun Jan 26 15:48:46
EET 2003     [EMAIL PROTECTED]:/var/obj/var/src/sys/IDE_FW  i386

#0  0x80bfa13 in _php_math_number_format ()
#1  0x80bff3a in zif_number_format ()
#2  0x814259a in execute ()
#3  0x8130942 in zend_execute_scripts ()
#4  0x8109272 in php_execute_script ()
#5  0x814a236 in main ()
#6  0x8062e36 in _start ()


-- 
Edit bug report at http://bugs.php.net/?id=22202&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22202&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22202&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22202&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22202&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22202&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22202&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22202&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22202&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22202&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22202&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22202&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22202&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22202&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22202&r=gnused

Reply via email to