News for hackers. Stuff that matters.
Re:PHP to deprecate MySQL extension by encoderer on Friday July 15, 2011 @12:48PM (#2768085)
In the first example above, you have one place where you have position based binding that you could break while reusing or refactoring.

In your example, you have one place where you have position based binding that you could break while reusing or refactoring.

Re:PHP to deprecate MySQL extension by eropple on Friday July 15, 2011 @01:22PM (#2768257)
In my experience, people are vastly less likely to rename a variable than move it to a different place in a query.

There's also the proclivity for people to want to reuse the same value in multiple places in a query. Name-based binding makes that a lot more readable and straightforward.