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
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: marc dot bennewitz at giata dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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: Sun Dec 22 11:01:30 2024 UTC