On Mon, Nov 25, 2019 at 8:06 PM Joel Hutchinson
wrote:
> This proposal would leave the previous mysqli_stmt_bind_param mostly
> untouched. Instead, the two could be used in tandem
> $sql = 'SELECT name FROM db.customer WHERE record_id = ? AND shipping_zip =
> ?';
> if(isset($_GET['zip'])) $sql
Prepared statements have become more important of late. By breaking a query
into instructions and data, we avoid the problem of SQL injection. While MySQLi
supports prepared statements, it has a structural deficiency that PDO does not
share. MySQLi does not support binding parameters separately.
On Sun, 24 Nov 2019 at 16:55, CHU Zhaowei wrote:
> > This proposal is not obsolete by the implementation of union types (i.e.
> > array|Traversable) because union data types are types/interfaces
> > combined by OR. "arrayable" is a combination of OR and AND:
> >
> > array|ArrayAccess&Countable&Tr