Update demo.php

This commit is contained in:
canghua 2020-05-20 21:35:21 +08:00
parent cc587aaea8
commit bd9cbfd4a6

View File

@ -1,9 +1,9 @@
<?php <?php
$mem = new memcache(); $mem = new memcache();
if($mem->connect('127.0.0.1',11211)){ if($mem->connect('127.0.0.1',11211)){
var_dump( $mem->get('333')); var_dump( $mem->get('333'));
} }
$a=["2123213","11"]; $a=["2123213","11"];
list($ip,$port) = $a; list($ip,$port) = $a;//sdasdasdasdasdsa
echo $port; echo $port;