php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71478 Show if x64/x86 on php -v
Submitted: 2016-01-28 13:48 UTC Modified: 2016-03-22 06:22 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:0 (0.0%)
From: martin dot keckeis1 at gmail dot com Assigned: mattficken (profile)
Status: Closed Package: *General Issues
PHP Version: 7.0.2 OS: Windows 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: martin dot keckeis1 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-01-28 13:48 UTC] martin dot keckeis1 at gmail dot com
Description:
------------
If you type in php -v, the command line give you those informations.

PHP 7.0.2 (cli) (built: Jan  6 2016 12:59:59) ( NTS )
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies

Expected result:
----------------
When i type in php -v 

i would like to see x86/x64 directly


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-02-03 15:21 UTC] jhdxr@php.net
-Summary: Show if x64/x96 on php -v +Summary: Show if x64/x86 on php -v
 [2016-03-22 04:11 UTC] mattficken@php.net
TS/NTS, Architecture and compiler are all available in phpinfo, `php -i`.

But, if TS/NTS will be included in `php -v` should include architecture and compiler too.

I pushed a change to include cpu arch and compiler version too.
 [2016-03-22 06:22 UTC] mattficken@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: mattficken
 [2016-03-22 06:22 UTC] mattficken@php.net
implemented
 [2016-03-22 06:47 UTC] martin dot keckeis1 at gmail dot com
Awesome thank you :-)

Reference
https://github.com/php/php-src/commit/fa6ce55675c75140339393a0dec7cf5763b950db
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 14:00:01 2026 UTC