Top Level :: Database
:: PDO
:: 0.3
PDO 0.3
Package Information |
Summary |
PHP Data Objects Interface. |
Maintainers |
Wez Furlong <
wez at php dot net >
(lead)
[details]
Marcus B?rger <
helly at php dot net >
(lead)
[wishlist]
[details]
Ilia Alshanetsky <
ilia at php dot net >
(lead)
[details]
George Schlossnagle <
george at omniti dot com >
(lead)
[wishlist]
[details]
|
License |
PHP |
Description |
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. |
Release notes
Version 0.3
(beta)
|
You need to install a PDO database driver to make use of PDO, check http://pecl.php.net/package-search.php?pkg_name=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: http://snaps.php.net/win32/php5.0-win32-latest.zip http://snaps.php.net/win32/PECL_5_0/php_pdo.dll
You can find additional PDO drivers at: http://snaps.php.net/win32/PECL_5_0/
- 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 0.3 |
|
|