PDO_FIREBIRD is a driver that implements the PHP Data Objects (PDO) interface to enable access from PHP to Firebird database.
Use --with-pdo-firebird[=DIR] to install
the PDO Firebird extension, where the optional [=DIR]
is the Firebird base install directory.
$ ./configure --with-pdo-firebird
下列常量由此驅(qū)動定義,且僅在擴展編譯入 PHP
或在運行時動態(tài)載入時可用。另外,使用此驅(qū)動時,僅會使用這些驅(qū)動特定的常量。使用其他驅(qū)動的驅(qū)動特定的常量可能會導(dǎo)致不可預(yù)見的情況。如果代碼可運行于多個驅(qū)動,PDO::getAttribute()
可被用于獲取
PDO_ATTR_DRIVER_NAME
屬性以檢查驅(qū)動。
PDO::FB_ATTR_DATE_FORMAT
(int)
Sets the date format.
PDO::FB_ATTR_TIME_FORMAT
(int)
Sets the time format.
PDO::FB_ATTR_TIMESTAMP_FORMAT
(int)
Sets the timestamp format.