Login  |  Packages  |  Support  |  Bugs

Return

Changelog for PDO
Release What has changed?
1.0.3 It is highly recommended that you update to PHP 5.1 or higher before using PDO.
This PECL release corresponds to the PHP 5.1.3 release.

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.

If you are running on Windows, you can find a precompiled binary at:
http://pecl4win.php.net/ext.php/php_pdo.dll

You can find additional PDO drivers at:
http://pecl4win.php.net

** Changes **
- Fixed bug #37167 (PDO segfaults when throwing exception from the
fetch handler). (Tony)
- Fixed memory corruption when PDO::FETCH_LAZY mode is being used. (Ilia)
- Fixed bug #36222 (errorInfo in PDOException is always NULL). (Ilia)
- Fixed bug #35797 (segfault on PDOStatement::execute() with
zend.ze1_compatibility_mode = On). (Tony, Ilia)
- Fixed bug #35543 (crash when calling non-existing method in extended class). (Tony)
- Fixed bug #35508 (improved validation of fetch modes). (Tony)
- Fixed bug #35431 (PDO crashes when using LAZY fetch with fetchAll). (Wez)
- Fixed bug #35430 (PDO crashes on incorrect FETCH_FUNC use). (Tony)

- Changed PDO_XXX constants to PDO::XXX
- It is now possible to extend PDO and PDOStatement and override their constructors

- Fixed Bug #35303; PDO::prepare() can cause crashes with invalid parameters
- Fixed Bug #35135; "new PDOStatement" can cause crashes.
- Fixed Bug #35293 and PECL Bug #5589; segfault when creating persistent connections
- Fixed PECL Bug #5010, problem installing headers
- renamed pdo_drivers() to PDO::getAvailableDrivers()
- Various fixes when building with SPL
- PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS) allows you to set your own
PDOStatement replacement when extending PDO and PDOStatement
- Fixed Bug #34687; error information from PDO::query() was not always returned
- Fixed PECL Bug #5750; uri: DSN was not handled correctly
- Fixed PECL Bug #5589; segfault when persistent connection attempt fails
- Fixed Bug #34590; User defined PDOStatement class methods are not callable
- Fixed Bug #34908; FETCH_INTO segfaults without destination object
- Fixed PECL Bug #5809; PDOStatement::execute(array(...)) modifies args
- Fixed PECL Bug #5772; FETCH_FUNC cannot call functions with mixed case names

** 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.
1.0.2 ** NOTE WELL! **
All the PDO_XXX constants have been renamed to PDO::XXX form for future
compatibility with PHP namespaces. Sorry for the inconvenience, especially
after Release Candidate 1.

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 PHP 5.1 before using PDO.

If you are running on Windows, you can find a precompiled binary at:
http://pecl4win.php.net/ext.php/php_pdo.dll

You can find additional PDO drivers at:
http://pecl4win.php.net

** Changes **
- Fixed bug #35431 (PDO crashes when using LAZY fetch with fetchAll). (Wez)
- Fixed bug #35430 (PDO crashes on incorrect FETCH_FUNC use). (Tony)

- Changed PDO_XXX constants to PDO::XXX
- It is now possible to extend PDO and PDOStatement and override their constructors

- Fixed Bug #35303; PDO::prepare() can cause crashes with invalid parameters
- Fixed Bug #35135; "new PDOStatement" can cause crashes.
- Fixed Bug #35293 and PECL Bug #5589; segfault when creating persistent connections
- Fixed PECL Bug #5010, problem installing headers
- renamed pdo_drivers() to PDO::getAvailableDrivers()
- Various fixes when building with SPL
- PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS) allows you to set your own
PDOStatement replacement when extending PDO and PDOStatement
- Fixed Bug #34687; error information from PDO::query() was not always returned
- Fixed PECL Bug #5750; uri: DSN was not handled correctly
- Fixed PECL Bug #5589; segfault when persistent connection attempt fails
- Fixed Bug #34590; User defined PDOStatement class methods are not callable
- Fixed Bug #34908; FETCH_INTO segfaults without destination object
- Fixed PECL Bug #5809; PDOStatement::execute(array(...)) modifies args
- Fixed PECL Bug #5772; FETCH_FUNC cannot call functions with mixed case names

** 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.

1.0.1 ** NOTE WELL! **
All the PDO_XXX constants have been renamed to PDO::XXX form for future
compatibility with PHP namespaces. Sorry for the inconvenience, especially
after Release Candidate 1.

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 PHP 5.1 before using PDO.

If you are running on Windows, you can find a precompiled binary at:
http://pecl4win.php.net/ext.php/php_pdo.dll

You can find additional PDO drivers at:
http://pecl4win.php.net

** Changes **
- Changed PDO_XXX constants to PDO::XXX
- It is now possible to extend PDO and PDOStatement and override their constructors

- Fixed Bug #35303; PDO::prepare() can cause crashes with invalid parameters
- Fixed Bug #35135; "new PDOStatement" can cause crashes.
- Fixed Bug #35293 and PECL Bug #5589; segfault when creating persistent connections
- Fixed PECL Bug #5010, problem installing headers
- renamed pdo_drivers() to PDO::getAvailableDrivers()
- Various fixes when building with SPL
- PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS) allows you to set your own
PDOStatement replacement when extending PDO and PDOStatement
- Fixed Bug #34687; error information from PDO::query() was not always returned
- Fixed PECL Bug #5750; uri: DSN was not handled correctly
- Fixed PECL Bug #5589; segfault when persistent connection attempt fails
- Fixed Bug #34590; User defined PDOStatement class methods are not callable
- Fixed Bug #34908; FETCH_INTO segfaults without destination object
- Fixed PECL Bug #5809; PDOStatement::execute(array(...)) modifies args
- Fixed PECL Bug #5772; FETCH_FUNC cannot call functions with mixed case names

** 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.

1.0 ** NOTE WELL! **
All the PDO_XXX constants have been renamed to PDO::XXX form for future
compatibility with PHP namespaces. Sorry for the inconvenience, especially
after Release Candidate 1.

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 PHP 5.1 before using PDO.

If you are running on Windows, you can find a precompiled binary at:
http://pecl4win.php.net/ext.php/php_pdo.dll

You can find additional PDO drivers at:
http://pecl4win.php.net

** Changes **
- Changed PDO_XXX constants to PDO::XXX
- It is now possible to extend PDO and PDOStatement and override their constructors

- Fixed Bug #35303; PDO::prepare() can cause crashes with invalid parameters
- Fixed Bug #35135; "new PDOStatement" can cause crashes.
- Fixed Bug #35293 and PECL Bug #5589; segfault when creating persistent connections
- Fixed PECL Bug #5010, problem installing headers
- renamed pdo_drivers() to PDO::getAvailableDrivers()
- Various fixes when building with SPL
- PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS) allows you to set your own
PDOStatement replacement when extending PDO and PDOStatement
- Fixed Bug #34687; error information from PDO::query() was not always returned
- Fixed PECL Bug #5750; uri: DSN was not handled correctly
- Fixed PECL Bug #5589; segfault when persistent connection attempt fails
- Fixed Bug #34590; User defined PDOStatement class methods are not callable
- Fixed Bug #34908; FETCH_INTO segfaults without destination object
- Fixed PECL Bug #5809; PDOStatement::execute(array(...)) modifies args
- Fixed PECL Bug #5772; FETCH_FUNC cannot call functions with mixed case names

** 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.

1.0RC2 ** NOTE WELL! **
All the PDO_XXX constants have been renamed to PDO::XXX form for future
compatibility with PHP namespaces. Sorry for the inconvenience, especially
after Release Candidate 1.

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 can find a precompiled binary at:
http://pecl4win.php.net/ext.php/php_pdo.dll

You can find additional PDO drivers at:
http://pecl4win.php.net

** Changes **

- Changed PDO_XXX constants to PDO::XXX
- Fixed PECL Bug #5010, problem installing headers
- renamed pdo_drivers() to PDO::getAvailableDrivers()
- Various fixes when building with SPL
- It is now possible to extend PDO and PDOStatement and override their constructors
- PDO::setAttribute(PDO::ATTR_STATEMENT_CLASS) allows you to set your own
PDOStatement replacement when extending PDO and PDOStatement
- Fixed Bug #34687; error information from PDO::query() was not always returned
- Fixed PECL Bug #5750; uri: DSN was not handled correctly
- Fixed PECL Bug #5589; segfault when persistent connection attempt fails
- Fixed Bug #34590; User defined PDOStatement class methods are not callable
- Fixed Bug #34908; FETCH_INTO segfaults without destination object
- Fixed PECL Bug #5809; PDOStatement::execute(array(...)) modifies args
- Fixed PECL Bug #5772; FETCH_FUNC cannot call functions with mixed case names

** 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.

1.0RC1 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/

- 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.

0.9 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/

- 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.
0.3 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.
0.2.4 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net 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/

- 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.
0.2.3 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net 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/

- 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.

* Note: this release bumps the API number; you will need to rebuild
your PDO drivers
0.2.2 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net 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/

- Added PDO::quote($string). Closes PECL Bug #3393
- Fixed PDO::query() for drivers using bound parameter emulation.
0.2.1 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net 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/

- Added PDO::quote($string). Closes PECL Bug #3393
0.2 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net 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/
0.1.1 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net for a list of available PDO drivers.

It is highly recommended that you update to the latest 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-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/
0.1 Note that PDO on its own is useless.
You need to install a PDO database driver to make use of it,
check http://pecl.php.net for a list of available PDO drivers.

It is highly recommended that you update to the latest 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-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/

Return

PRIVACY POLICY  |  CREDITS
Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 21 17:05:02 2024 UTC
Bandwidth and hardware provided by: pair Networks