Lukas Smith wrote:

3) Wouldn't it be nice if you could do a $stmt->execute("foo", "bar");
(numeric parameters) instead of $stmt->execute(array("foo", "bar")); ?


I think this would severely hurt the extensibility of the API not only for PDO itself, but also for people who want to transparently extend the API.

Also note your suggestion would only work for ? placeholders and not for :foo style placeholders (which I would generally recommend for readability reasons).

regards,
Lukas

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to