Re: [RFC] Deprecations for PHP 8.1

From: Date: Mon, 12 Apr 2021 13:11:51 +0000
Subject: Re: [RFC] Deprecations for PHP 8.1
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-114036@lists.php.net to get a copy of this message
On Fri, Mar 26, 2021 at 3:41 PM Christoph M. Becker <cmbecker69@gmx.de> wrote: > On 22.03.2021 at 10:24, Nikita Popov wrote: > > > It's time for another deprecation RFC: > > https://wiki.php.net/rfc/deprecations_php_8_1 > > > > As we're still early in the release cycle, it's still possible to add > > additional deprecation candidates, given reasoning for the deprecation, > as > > well as available alternatives. > > I'd like to propose the deprecation of odbc_result_all()[1]. My main > motivation for getting rid of this function is to reduce unnecessary > complexity in the ODBC extension. I doubt that this function is used > (often) in production code, and even for quick experiments/tests it is > unlikely to be helpful. For those needing it, it shouldn't be hard to > implement it in PHP. > > [1] > <https://www.php.net/manual/en/function.odbc-result-all.php> > I'm on board with deprecating odbc_result_all(). This is pretty much the archetype of old school PHP -- make a query and dump the result right into an HTML table... Escaping? Who needs that! Nikita

« previous php.internals (#114036) next »