From 1dc9701713244c85107620361c5160d560aef8f0 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Thu, 16 Jun 2005 13:12:41 +0000 Subject: [PATCH] Initial documentation git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@188538 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/pdo/functions/pdo-drivers.xml | 80 +++++++++++++++++++++++++ 1 file changed, 80 insertions(+) create mode 100644 reference/pdo/functions/pdo-drivers.xml diff --git a/reference/pdo/functions/pdo-drivers.xml b/reference/pdo/functions/pdo-drivers.xml new file mode 100644 index 0000000000..5c575701f8 --- /dev/null +++ b/reference/pdo/functions/pdo-drivers.xml @@ -0,0 +1,80 @@ + + + + + + pdo_drivers + + Return an array of available PDO drivers + + + + &reftitle.description; + + arraypdo_drivers + + + &warn.experimental.func; + + This function returns all currently available PDO drivers which can be used + in DSN parameter of + PDO::__construct. + + + + + &reftitle.returnvalues; + + pdo_drivers returns an array of PDO driver names. If + no drivers are available, it returns an empty array. + + + + + &reftitle.examples; + + + A <function>pdo_drivers</function> example + + +]]> + + &example.outputs.similar; + + mysql + [1] => sqlite +) +]]> + + + + + + + +