you should check if the function exists first

Look how they did it in adodb-ibase

http://typo3.org/fileadmin/typo3api-4.0.0/d1/d41/adodb-ibase_8inc_8php-source.html
 // PHP5 change.

00085                 if (function_exists('ibase_timefmt')) {
00086                         ibase_timefmt($this->ibase_datefmt,IBASE_DATE );
00087                         if ($this->dialect == 1) 
ibase_timefmt($this->ibase_datefmt,IBASE_TIMESTAMP );
00088                         else 
ibase_timefmt($this->ibase_timestampfmt,IBASE_TIMESTAMP );
00089                         ibase_timefmt($this->ibase_timefmt,IBASE_TIME );
00090                         
00091                 } else {
00092                         ini_set("ibase.timestampformat", 
$this->ibase_timestampfmt);
00093                         ini_set("ibase.dateformat", $this->ibase_datefmt);
00094                         ini_set("ibase.timeformat", $this->ibase_timefmt);
00095                 }

-- 
php4-interbase package contains php5-interbase
https://bugs.launchpad.net/bugs/44789
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to