php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62999 extension version
Submitted: 2012-09-02 19:43 UTC Modified: 2012-09-11 09:04 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: tomkrawc at gmail dot com Assigned: laruence (profile)
Status: Closed Package: imagick (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2012-09-02 19:43 UTC] tomkrawc at gmail dot com
Description:
------------
It would be nice if Imagick version could be added to the Imagick::getVersion method. I'm not sure but this line could be added to the PHP_METHOD(imagick, getversion) in the imagick_class.c just before an end.

	add_assoc_string(return_value, "versionExtension", PHP_IMAGICK_VERSION, 1);

Sometimes it is good to know the extension version.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-09-11 09:04 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 [2012-09-11 18:38 UTC] tomkrawc at gmail dot com
Thanks for the hint. The constants Imagick::IMAGICK_EXTNUM and Imagick::IMAGICK_EXTVER are not documented. However, if this change would be done then we would have all information in one place.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 15 04:01:33 2024 UTC