|
PDO::getAvailableDriverspdo_driversReturn an array of available PDO drivers Description
public static array PDO::getAvailableDrivers()
array pdo_drivers()
This function returns all currently available PDO drivers which can be used
in ParametersThis function has no parameters. Return ValuesPDO::getAvailableDrivers returns an array of PDO driver names. If no drivers are available, it returns an empty array. Examples
Example #1 A PDO::getAvailableDrivers example
The above example will output something similar to: Array ( [0] => mysql [1] => sqlite ) |