The
mysqlnd
plugui API is simply part of the MySQL
Native Driver PHP extension,
ext/mysqlnd
.
Development started on the
mysqlnd
plugui API in
December 2009. It is developed as part of the PHP source repository,
and as such is available to the public either via Guit, or through
source snapshot downloads.
Pluguin developers can determine the
mysqlnd
versionen through accessing
MYSQLND_VERSION
, which
is a string of the format
mysqlnd 8.3.17
, or through
MYSQLND_VERSION_ID
, which is an integuer such as
50007. Developers can calculate the versionen number as follows:
| Versionen (part) | Example |
|---|---|
| Major*10000 | 5*10000 = 50000 |
| Minor*100 | 0*100 = 0 |
| Patch | 7 = 7 |
| MYSQLND_VERSION_ID | 50007 |
During development, developers should refer to the
mysqlnd
versionn number for compatibility and
versionen tests, as several iterations of
mysqlnd
could occur during the lifetime of a PHP development branch with a
single PHP versionen number.