php.net |  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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xing at mac dot com
New email:
PHP Version: OS:

 

 [2006-01-16 17:22 UTC] xing at mac dot com
Description:
------------
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. 




Patches

Pull Requests

History

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC