Re: Fix the inconsistent behavior of PDO::PARAM_XXX

From: Date: Sun, 05 Nov 2023 13:52:00 +0000
Subject: Re: Fix the inconsistent behavior of PDO::PARAM_XXX
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-121590@lists.php.net to get a copy of this message
Hi Matteo, > I'm sure there are several bugs w/ types in PDO. > > Perhaps some can be fixed, but I would be very careful touching that part. > > The last time I tried to fix the PDO_PARAM_INT behaviour on pdo_pgsql I broke Laravel and > surely many other projects. > > I'm afraid that most libraries and projects have now worked around some of the bugs and > trying to fix them is going to cause BC problems, or generate a whole new series of bugs and > incompatibilities. I hate to be the person to tell you this, it is simply a problem caused by releasing broken code. However admittedly, we may need a some more test patterns to compensate for not breaking functionality. Regards. Saki

« previous php.internals (#121590) next »