Bug 2392 - php-4.3.0-alt0.cvs20030207 из ALT Linux Master 2.2 - Segmentation fault при вызове функции number_format()
Summary: php-4.3.0-alt0.cvs20030207 из ALT Linux Master 2.2 - Segmentation fault при в...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: php (show other bugs)
Version: unstable
Hardware: all Linux
: P4 critical
Assignee: Alexey Gladkov
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-20 10:57 MSK by raVen
Modified: 2004-06-04 18:01 MSD (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description raVen 2003-03-20 10:57:54 MSK
$ rpm -qv php
php-4.3.0-alt0.cvs20030207

$ cat number_format_test.php
<?php

    $number = 0.00056;

    $format = number_format($number, 2);

    echo $format;

?>

$ php number_format_test.php
Segmentation fault

Проблема возникает, если в $number больше двух нулей после десятичной точки.

Версия php из текущего Sisyphus не подвержена этой ошибке.
---

---
На мой взгляд, новая версия php должна попасть в updates к ALT Linux Master 2.2.
Comment 1 inger@altlinux.org 2004-06-04 18:01:02 MSD
ну коли в сизифе всё нормально - закрываю.