[php-src] Issue #8426: make test fail while soap extention build
| From: | evrinoma | Date: | Fri, 22 Apr 2022 17:04:42 +0000 |
| Subject: | [php-src] Issue #8426: make test fail while soap extention build | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241181@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8426
Comment Author: evrinoma
Sure, I tried to check this idea here
**/usr/src/php/ext/soap/tests/bug73037.php**
```php
$router = "bug73037_server.php";
$args = substr(PHP_OS, 0, 3) == 'WIN'
? ["-d", "extension_dir=" . ini_get("extension_dir"),
"-d", "extension=php_soap.dll"] : [];
$code = <<<'PHP'
if (!extension_loaded('soap')) {
throw new \Exception('soap not loaded');
}
```
and it throw exception