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
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:
38 - 16 = ?
Subscribe to this entry?

 
 [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: Sun May 11 13:01:28 2025 UTC