随笔分类 - PHP
摘要:function minus_func($i,$j){ $res = $i - $j; return $res; } function greet($param) { if(!$param || !is_array ($param)){ return 'parameat error'; } $val
阅读全文
摘要:class Single { private static $_instance; private function __construct() { echo "初始化一次<br/>"; } private function __clone() { // TODO: Implement __clon
阅读全文
摘要:New Relic xhprof xdebuger Valgrind cachegrind IFP(instrumentation-for-php)
阅读全文
摘要:请求方式为 function json_post($url, $data = NULL) { $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER,
阅读全文
摘要:$model_user = new \app\admin\model\User(); //搜索条件 $phone = input('get.phone', ""); $start_time = input('get.start_time', ""); $end_time = input('get.e
阅读全文

浙公网安备 33010602011771号