php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59117 add version constants
Submitted: 2010-03-15 04:35 UTC Modified: 2021-06-09 11:22 UTC
From: marc dot bennewitz at giata dot de Assigned: cmb (profile)
Status: Closed Package: memcached (PECL)
PHP Version: Irrelevant OS: Irrelevant
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:
36 - 17 = ?
Subscribe to this entry?

 
 [2010-03-15 04:35 UTC] marc dot bennewitz at giata dot de
Description:
------------
Diff:

2833,2839d2832
<   #define REGISTER_MEMC_CLASS_CONST_STRING(name, value) zend_declare_class_constant_string(php_memc_get_ce(), ZEND_STRS( #name ) - 1, value TSRMLS_CC );
<
<   /*
<    * Versions
<    */
<   REGISTER_MEMC_CLASS_CONST_STRING(VERSION_PHP,  PHP_MEMCACHED_VERSION);
<   REGISTER_MEMC_CLASS_CONST_STRING(VERSION_LIB,  memcached_lib_version());
2848d2840
<

Reproduce code:
---------------
var_dump(Memcached::VERSION_PHP);
var_dump(Memcached::VERSION_LIB);

Expected result:
----------------
string(5) "1.0.1"
string(4) "0.38"


Actual result:
--------------
-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-06-09 11:22 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-06-09 11:22 UTC] cmb@php.net
The memcached bug tracker is now on Github[1].  If this is still
an issue with the current memcached version, please report there.

[1] <https://github.com/php-memcached-dev/php-memcached/issues>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 11:01:33 2024 UTC