 PHP's MySQL-related extensions, such as the MySQLi extension, and the MySQL extension, are implemented using the PHP extension framework.An extension typically exposes an API to the PHP developer, to allow its facilities to be used programmatically.However, some extensions which use the PHP extension framework do not expose an API to the PHP developer.