[php-src] Issue #19256: `-v` should include architecture and OS
| From: | mvorisek | Date: | Sat, 26 Jul 2025 23:41:47 +0000 |
| Subject: | [php-src] Issue #19256: `-v` should include architecture and OS | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-250503@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/19256
Author: mvorisek
### Description
The following code:
```sh
php -v
```
Resulted in this output:
```
PHP 8.2.7 (cli) (built: Jul 20 2023 18:02:54) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
```
But I expected this output instead:
```
PHP 8.2.7 (cli) (built: Jul 20 2023 18:02:54) (NTS, Windows 10, 64-bit)
Copyright (c) The PHP Group
Zend Engine v4.2.7, Copyright (c) Zend Technologies
with Zend OPcache v8.2.7, Copyright (c), by Zend Technologies
```