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
 [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-2025 The PHP Group
All rights reserved.
Last updated: Mon Mar 10 21:01:30 2025 UTC