Top Level :: Database :: PDO
||PHP Data Objects Interface.
||Wez Furlong <email@example.com> (lead) [details]
Marcus B?rger <firstname.lastname@example.org> (lead) [wishlist] [details]
Ilia Alshanetsky <email@example.com> (lead) [details]
George Schlossnagle <firstname.lastname@example.org> (lead) [wishlist] [details]
||Do not use this, as PDO has been moved into core (the php source) so this pecl extension is dead.
PDO provides a uniform data access interface, sporting advanced features such
as prepared statements and bound parameters. PDO drivers are dynamically
loadable and may be developed independently from the core, but still accessed
using the same API.
|You need to install a PDO database driver to make use of PDO,
for a list of available PDO drivers.
It is highly recommended that you update to the latest stable PHP 5 snapshot
before using PDO.
You can obtain it from http://snaps.php.net.
If you are running on Windows, you should download:
You can find additional PDO drivers at:
- Consult the PHP 5.1b3 release notes and http://netevil.org/node.php?nid=325
for more recent changes.
- New fetch modes:
PDO_FETCH_FUNC, PDO_FETCH_GROUP, PDO_FETCH_UNIQUE, PDO_FETCH_CLASSENGINE
- New fetch mode for PHP 5.1 and higher: PDO_FETCH_SERIALIZE
- Changed signature for PDO::lastInsertId(); it is now:
string PDO::lastInsertId([string name])
this allows arbitrary unique identifiers to be returned, and allows for
better support for RDBMS with sequences.
- Improved bound parameter emulation when using non-string types.
- PDOStatement implements SPL Traversable interface when SPL is present.
- Added PDO::quote($string). Closes PECL Bug #3393
- Fixed PDO::query() for drivers using bound parameter emulation.
- Fixed PECL Bug #3434, crash when using odbc with named parameters.
- Added PDOStatement::fetchObject(string class_name [, NULL|array ctor_args]])
- PDO_FETCH_CLASS now passes args through to the class constructor
- Now builds directly via "pear install PDO" (upgrade to PEAR 1.3.5 first)
** Note **
You should uninstall and re-install your individual database drivers whenever
you upgrade the base PDO package, otherwise you will see an error about PDO API
numbers when you run your PHP scripts.
|Dependencies for release 1.0RC1