php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #62087 Update extension version number
Submitted: 2012-05-21 08:36 UTC Modified: 2012-07-18 09:14 UTC
From: jpauli@php.net Assigned: pdezwart (profile)
Status: Closed Package: amqp (PECL)
PHP Version: 5.3.13 OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 6 = ?
Subscribe to this entry?

 
 [2012-05-21 08:36 UTC] jpauli@php.net
Description:
------------
The package version isn't updated in PHP_MINFO_FUNCTION(amqp) nor in the 
amqp_module_entry (both in amqp.c)

The version number should be updated when a new release gets packaged in the svn 
tags, that way phpinfo() and ReflectionExtension would give the right number.

This may be a blocking bug while using composer (which uses ReflectionExtension) 
http://getcomposer.org as a package dependency manager, because it highly relies 
on version numbers

Test script:
---------------
php --ri amqp
phpinfo()
(new ReflectionExtension('amqp))->getVersion()

Expected result:
----------------
Right version numbers

Actual result:
--------------
wrong version numbers

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-07-18 09:14 UTC] pdezwart@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pdezwart
 [2012-07-18 09:14 UTC] pdezwart@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php

Fixed in 1.0.4. Thanks for the help!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC