Re: [PHP-DEV] CLI/CGI -z command line options is broken

2025-02-16 Thread Christoph M. Becker
On 16.02.2025 at 01:34, Niels Dossche wrote: > On 16/02/2025 01:31, Davey Shafik wrote: > >> Why not make -z an alias for -d zend_extension? > > Turned out that's not trivial due to escape character handling: > https://github.com/php/php-src/issues/17740#issuecomment-2645928676 And even if it wa

Re: [PHP-DEV] CLI/CGI -z command line options is broken

2025-02-15 Thread Niels Dossche
On 16/02/2025 01:31, Davey Shafik wrote: > Why not make -z an alias for -d zend_extension? > > - Davey Turned out that's not trivial due to escape character handling: https://github.com/php/php-src/issues/17740#issuecomment-2645928676 Niels

Re: [PHP-DEV] CLI/CGI -z command line options is broken

2025-02-15 Thread Davey Shafik
Why not make -z an alias for -d zend_extension? - Davey > On Feb 15, 2025, at 15:23, Niels Dossche wrote: > > On 2/10/25 11:14 PM, Larry Garfield wrote: >>> On Mon, Feb 10, 2025, at 3:24 PM, Niels Dossche wrote: >>> Hi internals >>> >>> We received a bug report (https://github.com/php/php-src

Re: [PHP-DEV] CLI/CGI -z command line options is broken

2025-02-15 Thread Niels Dossche
On 2/10/25 11:14 PM, Larry Garfield wrote: > On Mon, Feb 10, 2025, at 3:24 PM, Niels Dossche wrote: >> Hi internals >> >> We received a bug report (https://github.com/php/php-src/issues/17740) >> that the `-z` command line option for CLI/CGI doesn't actually work. >> This option is supposed to loa

Re: [PHP-DEV] CLI/CGI -z command line options is broken

2025-02-10 Thread Larry Garfield
On Mon, Feb 10, 2025, at 3:24 PM, Niels Dossche wrote: > Hi internals > > We received a bug report (https://github.com/php/php-src/issues/17740) > that the `-z` command line option for CLI/CGI doesn't actually work. > This option is supposed to load a zend extension using a command line > argumen

[PHP-DEV] CLI/CGI -z command line options is broken

2025-02-10 Thread Niels Dossche
Hi internals We received a bug report (https://github.com/php/php-src/issues/17740) that the `-z` command line option for CLI/CGI doesn't actually work. This option is supposed to load a zend extension using a command line argument. However, it turns out that the extension doesn't actually load: