|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2021-03-25 16:46 UTC] cmb@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: cmb
[2021-03-25 16:46 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 22:00:01 2025 UTC |
Description: ------------ <?php $memcache = new Memcache; //$memcache->connect("localhost",11211); # You might need to set "localhost" to "127.0.0.1" $memcache->addServer("localhost",11211); //echo "Server's version: " . $memcache->getVersion() . "<br />\n"; $memcache->set("arun",100); echo "my value=>".$memcache->get("arun"); echo "<br>after decrement=>".$memcache->decrement("arun",10); echo "<br>after decrement=>".$memcache->decrement("arun",110); // here it have to return -10 but its return 0 ?>