PHP - Manual: 预定义常量
2024-12-23
下列常量由此扩展定义,且仅在此扩展编译入 PHP 或在运行时动态载入时可用。
The functions sqlite_fetch_array() and sqlite_current() use a constant for the different types of result arrays. The following constants are defined:
SQLITE_ASSOC
(int)
SQLITE_BOTH
(int)
SQLITE_NUM
(int)
A number of functions may return status codes. The following constants are defined:
SQLITE_OK
(int)
SQLITE_ERROR
(int)
SQLITE_INTERNAL
(int)
SQLITE_PERM
(int)
SQLITE_ABORT
(int)
SQLITE_BUSY
(int)
SQLITE_LOCKED
(int)
SQLITE_NOMEM
(int)
SQLITE_READONLY
(int)
SQLITE_INTERRUPT
(int)
SQLITE_IOERR
(int)
SQLITE_NOTADB
(int)
SQLITE_CORRUPT
(int)
SQLITE_FORMAT
(int)
SQLITE_NOTFOUND
(int)
SQLITE_FULL
(int)
SQLITE_CANTOPEN
(int)
SQLITE_PROTOCOL
(int)
SQLITE_EMPTY
(int)
SQLITE_SCHEMA
(int)
SQLITE_TOOBIG
(int)
SQLITE_CONSTRAINT
(int)
SQLITE_MISMATCH
(int)
SQLITE_MISUSE
(int)
SQLITE_NOLFS
(int)
SQLITE_AUTH
(int)
SQLITE_ROW
(int)
SQLITE_DONE
(int)