On 18/05/17 10:43, Marco Pivetta wrote:
> On Thu, May 18, 2017 at 11:38 AM, Lester Caine wrote:
>
>> On 18/05/17 09:15, Dorin Marcoci wrote:
>>> Yes, null is a state, not a type. ->bindValue('Foo', PDO::PARAM_NULL) is
>>> awesome.
>>> So it should be deprecated and removed.
>> ? One of the reason
On Thu, May 18, 2017 at 11:38 AM, Lester Caine wrote:
> On 18/05/17 09:15, Dorin Marcoci wrote:
> > Yes, null is a state, not a type. ->bindValue('Foo', PDO::PARAM_NULL) is
> > awesome.
> > So it should be deprecated and removed.
>
> ? One of the reasons for using 'prepare' is to set up a query w
On 18/05/17 09:15, Dorin Marcoci wrote:
> Yes, null is a state, not a type. ->bindValue('Foo', PDO::PARAM_NULL) is
> awesome.
> So it should be deprecated and removed.
? One of the reasons for using 'prepare' is to set up a query which can
be run several times and some of those passes may require
> I would agree that NULL is not a type and the constant shouldn't have
> been there in the first place, but I think it could be a bit too late now.
Raising an warning for first 1-2 years with later removal sounds OK.
Also docs should be updated to mark this constant deprecated.
Yes, null is a st