Re: [PHP-DEV] [RFC] [Discussion] Deprecate GET/POST sessions

2024-03-14 Thread Mel Dafert
>From: Anton Smirnov >Date: Sun, 3 Mar 2024 at 19:56 > >Greetings! > >As I know some session-related middlewares force custom-only session_id >handling by setting > > use_cookies = Off > use_only_cookies = On > >and then using session_id(...) directly > >Example:

Re: [PHP-DEV] Re: [pdo_dblib] Correct TDS protocol version

2024-03-14 Thread Saki Takamachi
When I thought about it, these constants weren't being output to userland. Just include "version=5.0" in th DSN Saki

[PHP-DEV] Re: [PHP-CVS] [php-src] master: Deprecate implicit nullable parameter types (#12959)

2024-03-14 Thread Sebastian Bergmann
Am 14.03.2024 um 14:07 schrieb Matteo Beccati: In my daily CI I have several builds failing today, eg. * PHPUnit 9.6 See https://github.com/sebastianbergmann/phpunit/issues/5719.

Re: [PHP-DEV] Re: [PHP-CVS] [php-src] master: Deprecate implicit nullable parameter types (#12959)

2024-03-14 Thread Matteo Beccati
Hi Sebastian, Il 14/03/2024 14:15, Sebastian Bergmann ha scritto: Am 14.03.2024 um 14:07 schrieb Matteo Beccati: In my daily CI I have several builds failing today, eg. * PHPUnit 9.6 See https://github.com/sebastianbergmann/phpunit/issues/5719. thanks, I had a quick look in the open

Re: [PHP-DEV] base64_encode without padding

2024-03-14 Thread Remi Collet
Le 14/03/2024 à 12:46, Dik Takken a écrit : Only I would strongly prefer a boolean argument over a flag. Make sense. PR updated

Re: [PHP-DEV] base64_encode without padding

2024-03-14 Thread Dik Takken
On 13-03-2024 17:06, Remi Collet wrote: I think padding should be optional (on by default to keep BC) Of course in user land, simple to write   $enc = trim(base64_encode('foo'), '='); This proposal allow to simply use   $enc = base64_encode('foo', PHP_BASE64_NO_PADDING); And also expose

Re: [PHP-DEV] Re: [PHP-CVS] [php-src] master: Deprecate implicit nullable parameter types (#12959)

2024-03-14 Thread Juliette Reinders Folmer
On 14-3-2024 15:55, Matteo Beccati wrote: Hi Sebastian, Il 14/03/2024 14:15, Sebastian Bergmann ha scritto: Am 14.03.2024 um 14:07 schrieb Matteo Beccati: In my daily CI I have several builds failing today, eg. * PHPUnit 9.6 See https://github.com/sebastianbergmann/phpunit/issues/5719.

[PHP-DEV] PHP 8.2.17 Released!

2024-03-14 Thread Sergey Panteleev
The PHP development team announces the immediate availability of PHP 8.2.17. This is a bugfix release. All PHP 8.2 users are encouraged to upgrade to this version. For source downloads of PHP 8.2.17 please visit our downloads page. Windows binaries can be found on the PHP for Windows site. The

Re: [PHP-DEV] base64_encode without padding

2024-03-14 Thread Yasuo Ohgaki
> > I think padding should be optional (on by default to keep BC) > > Of course in user land, simple to write > >$enc = trim(base64_encode('foo'), '='); > > This proposal allow to simply use > >$enc = base64_encode('foo', PHP_BASE64_NO_PADDING); > > Please add PHP_BASE64_URL flag also.

[PHP-DEV] PHP 8.3.4 Released

2024-03-14 Thread Jakub Zelenka
The PHP development team announces the immediate availability of PHP 8.3.4. This is a bugfix release. All PHP 8.3 users are encouraged to upgrade to this version. For source downloads of PHP 8.3.4 please visit our downloads page: https://www.php.net/downloads Windows source and binaries can be