[php-src] PR #12014: Fix passing null to parameter of type string
| From: | petk | Date: | Mon, 21 Aug 2023 17:07:08 +0000 |
| Subject: | [php-src] PR #12014: Fix passing null to parameter of type string | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-23430@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12014
Author: petk
This fixes builds without cgi or phpdbg:
```sh
./configure --disable-cgi --disable-phpdbg
make
./sapi/cli/php run-tests.php
```
Otherwise, deprecation warnings (since PHP-8.1) are emitted:
```
Deprecated: escapeshellarg(): Passing null to parameter #1 ($arg) of type string is deprecated in
run-tests.php...
```