#35770 [WFx]: inconsistent method naming PDO::exec and PDOStatement::execute
| From: | wez@php.net | Date: | Thu, 22 Dec 2005 14:38:45 +0000 |
| Subject: | #35770 [WFx]: inconsistent method naming PDO::exec and PDOStatement::execute | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-90889@lists.php.net to get a copy of this message | ||
ID: 35770
Updated by: wez@php.net
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:
They do different things; having the same name for these is not clever,
and we're not going to change it.
Previous Comments:
------------------------------------------------------------------------
[2005-12-22 14:28:20] fh at ez dot no
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
------------------------------------------------------------------------
[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