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
下列常量由此驅動(dòng)定義,且僅在擴展編譯入 PHP
或在運行時(shí)動(dòng)態(tài)載入時(shí)可用。另外,使用此驅動(dòng)時(shí),僅會(huì )使用這些驅動(dòng)特定的常量。使用其他驅動(dòng)的驅動(dòng)特定的常量可能會(huì )導致不可預見(jiàn)的情況。如果代碼可運行于多個(gè)驅動(dòng),PDO::getAttribute()
可被用于獲取
PDO_ATTR_DRIVER_NAME
屬性以檢查驅動(dòng)。
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.