摘要:
$xx = '123334555667777'; //用到正向预言 $xxxx = preg_replace('/(\d)(?=\1)/is','',$xx); //结果为变为$xxxx1234567 阅读全文
摘要:
//获取apache进程id$pid = exec('echo $PPID');error_log(date('Y-m-d H:i:s').' '.$pid."\n",3,'/var/tmp/getcom.pid'); 阅读全文