Subject Re: Help needed with PHP/FB on Firebird website
Author u.masotti
Hi Milan,

--- In, Milan Babuskov <milanb@...>
> > I'm not able to figure out what are you referring to: PHP 5.* globally or PHP ibase/firebird 5.* interface sources?
> Interbase driver.


> > Can you share which are the most important ones?
> Most important and critical are subtle errors in handling of numeric and
> decimal data. For example, Firebird can return a number: 1204.345, but
> driver shows it as: 12043.45.
> You can run this test script to see whether your version is affected:

Many thanks.
My PHP 5.0 Centos4 Web Server is affected indeed; my luck is I don't use in my Web apps DECIMAL or NUMERIC.
In my Ubuntu 10.4 PHP 5.2.6-2ubuntu4.1 there is one more test failing: check CHAR padding for SELECT and SP.
By default I trim() all char fields in result set, so I never noted this, but I must go deeper in what that means.

Many thanks again, Milan.