摘要:
比较推荐使用百度翻译api 不推荐有道翻译,比较水。 http://ai.youdao.com/docs/doc-trans-api.s#p02 http://ai.youdao.com/docs/doc-trans-api.s#p08 阅读全文
posted @ 2018-04-25 17:14
贝尔塔猫
阅读(396)
评论(0)
推荐(0)
摘要:
命名变量 多行匹配注意:(.|\n)+? 阅读全文
posted @ 2018-04-25 17:09
贝尔塔猫
阅读(152)
评论(0)
推荐(0)
摘要:
// 驼峰写法 function toUp ($str) { return preg_replace_callback('/\s(\w)|-(\w)/', function ($matches) { if (count($matches) > 2) { return strtoupper($matches[2]); } ... 阅读全文
posted @ 2018-04-25 15:37
贝尔塔猫
阅读(142)
评论(0)
推荐(0)