Re: PDO statement execute enhancement

From: Date: Wed, 09 Aug 2006 11:44:55 +0000
Subject: Re: PDO statement execute enhancement
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-25260@lists.php.net to get a copy of this message
Yes, that's my idea - to ignore keys that are not defined as placeholder. And not only for objects but for arrays also. 2006/8/9, Lukas Smith <lsmith@php.net>:
Michael Wallner wrote: Derick Rethans wrote:
On Wed, 9 Aug 2006, Marian Kostadinov wrote:
But that is not executed because we have some additional key/value
pairs.
So the idea is to allow this. Also I suggest we allow using object
along
with an array. This is a common situation also.
Actually, it is dependent on the driver what happens here, which is not at all documented either. However, it would be nice if this indeed
would
work.
I second this. Being able to use Objects probably only makes sense if we ignore additional keys that have not been defined as placeholders. I do not think that this change makes sense though. regards, Lukas -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.internals (#25260) next »