On Mon, 25 Apr 2005, Wez Furlong wrote:

> On 4/25/05, Lukas Smith <[EMAIL PROTECTED]> wrote:
> > I also noticed that bindParam() and bindColumn() are 1-indexed, which
> > will raise inconviniences with people using arrays for example to stored
> > the numeric indexes
> 
> Passing an array with numeric indices to execute() expects 0 based
> indices, to cater for this case.  Manually calling a bind function
> expects 1 based indices, as this is the convention for the majority of
> database APIs.

But it's totally not what PHP does now. Everything is 0 based so why 
make it *harder* for users by requiring a 1-based index here?

regards,
Derick

-- 
Derick Rethans
http://derickrethans.nl | http://ez.no | http://xdebug.org

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

Reply via email to