#35770 [WFx]: inconsistent method naming PDO::exec and PDOStatement::execute
ID: 35770
User updated by: fh at ez dot no
Reported By: fh at ez dot no
Status: Wont fix
Bug Type: PDO related
Operating System: linux - gentoo
PHP Version: 5.1.1
Assigned To: wez
New Comment:
You have aliases for this. At the very least fix this in
PHP 6.
Derick also noted another inconsistency in PDO:
13:15:25] <Derick> they also have beginTransaction, commit
and rollback
Previous Comments:
------------------------------------------------------------------------
[2005-12-22 14:18:02] iliaa@php.net
too late to change this for BC reasons
------------------------------------------------------------------------
[2005-12-22 11:34:26] sniper@php.net
Assigned to the maintainer.
------------------------------------------------------------------------
[2005-12-22 11:10:04] fh at ez dot no
Description:
------------
The methods should either be named the same or given names
that separate them more clearly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35770&edit=1
Thread (5 messages)