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 Add Comment Developer Edit
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
45 - 38 = ?
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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Apr 24 18:01:28 2024 UTC