Re: Fwd: [PHP-BUG] Bug #73234 [NEW]: emulated statementslet value dictate parameter type
| From: | Matteo Beccati | Date: | Tue, 11 Oct 2016 09:29:20 +0000 |
| Subject: | Re: Fwd: [PHP-BUG] Bug #73234 [NEW]: emulated statementslet value dictate parameter type | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96311@lists.php.net to get a copy of this message | ||
Hi Adam,
On 04/10/2016 16:44, Adam Baratz wrote:
> I'm happy to work on the bug fix. I'm leaning towards only applying it to
> master in case others have coded around this behavior. I maintain
> pdo_dblib, so I know that driver and its use cases pretty well. But since
> this would affect more people, I wanted to take people's temperature on the
> change.
I've had a quick look at the bug fix, although I haven't tested it. By
the looks of it, it seems that the third parameter has become mandatory,
which to me seems unacceptable.
I would say that the type parameter should have precedence over the
actual PHP type only when it is explicitly passed.
Cheers
--
Matteo Beccati
Development & Consulting - http://www.beccati.com/