|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #56775 API set call change
Submitted: 2006-01-16 17:22 UTC Modified: 2006-01-16 17:25 UTC
From: xing at mac dot com Assigned:
Status: Wont fix Package: memcache (PECL)
PHP Version: 5.1.1 OS: linux
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-01-16 17:22 UTC] xing at mac dot com
I'm very new to the pecl memcache package so my opinions reflect that.

For the set() method. The args are 

set(key, value, [int flag], [int expire]);

Where the flag and expire are optional. I think it's more intuitive to have the flag as the last arg as it will likely be the least frequently used arg by developers, in my opinion. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-16 17:25 UTC] tony2001 at phpclub dot net
It's a bit too late to change such a fundamental thing.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed May 31 00:03:41 2023 UTC