Blood.Cold
文章 252
2,812次阅读
PHP 2019-06-04
2,816次阅读
PHP 2019-06-04
PHP Swoole和WebSocket之斗地主中篇准备发牌抢地主
这篇文章是 Swoole 和 WebSocket 之斗地主上篇进房间 的续集,在这里我们主要讲解准备 ->发牌…
2,484次阅读
PHP 2019-06-04
PHP Swoole和WebSocket之斗地主上篇进房间
这篇文章主要讲解通过 Swoole 和 webSocket 来实现斗地主的…
2,493次阅读
PHP 2019-06-04
PHP php使用curl上传文件
<?php function upload(array $files) {$ch = curl_init…
2,627次阅读
PHP 2019-06-04
PHP phalcon将路由将驼峰换成分隔符
如原始网址为:http://example.com/admin/products/show-latest-pr…
2,611次阅读
PHP 2019-06-03
PHP php过滤emoji表情字符
function remove_emoji($string) { // Match Emoticons $re…
2,488次阅读
PHP 2019-06-03
PHP 使用file_get_contents发送post请求带上body
$content = stream_context_create([ ‘http’ => [ ‘meth…
2,453次阅读
PHP 2019-06-03
PHP 在phalcon中使用自定义事件
lass Comment {const NAME = ‘comment’; const NAME_PUBLIS…
2,656次阅读
PHP 2019-06-03