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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 15:01:33 2024 UTC