List Info

Thread: note 70420 added to function.memcache-get




note 70420 added to function.memcache-get
user name
2006-10-16 04:14:35
pls aware of the get() function will change the content of
your variable:

e.g.

$key = "this is a test";
$memcache->set($key, 1);

echo $memcache->get($key); // print out "1", as
expected
echo $key;                          // print out
"this_is_a_test"

i think you would like to use as the following:

$memcache->set("$key", 1);
echo $memcache->get("$key");
----
Server IP: 202.181.244.117
Probable Submitter: 125.215.205.194
----
Manual Page -- http://www.php.net/manual/en/function.memcache-get.php
Edit        -- https://master
.php.net/note/edit/70420
Del: integrated  -- h
ttps://master.php.net/note/delete/70420/integrated
Del: useless     -- http
s://master.php.net/note/delete/70420/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/70420/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/70420/spam
Del: non-english -- 
https://master.php.net/note/delete/70420/non-english
Del: in docs     -- http
s://master.php.net/note/delete/70420/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/70420
Reject      -- https://mast
er.php.net/note/reject/70420
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 70420 deleted from function.memcache-get by tony2001
user name
2006-11-30 23:07:52
Note Submitter: tszming at gmail dot com 

----

pls aware of the get() function will change the content of
your variable:

e.g.

$key = "this is a test";
$memcache->set($key, 1);

echo $memcache->get($key); // print out "1", as
expected
echo $key;                          // print out
"this_is_a_test"

i think you would like to use as the following:

$memcache->set("$key", 1);
echo $memcache->get("$key");

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )