上一页 1 ··· 18 19 20 21 22
摘要: 使用phpize 动态添加 PHP 扩展是开发中经常需要做的事情,但是在 macOS 中,首次使用该功能必然会碰到一些错误,本文列出了这些错误的解决方法。 问题一: 执行 phpize 报错如下: $ phpize grep: /usr/include/php/main/php.h: No such 阅读全文
posted @ 2016-12-07 17:42 3002059249 阅读(1121) 评论(0) 推荐(0) 编辑
摘要: The other problem I had with Laravel Task Scheduling was that i really only wanted something to handle the scheduling. I already had my logical unit o 阅读全文
posted @ 2016-12-06 17:51 3002059249 阅读(339) 评论(0) 推荐(0) 编辑
摘要: Just to recap, previously we'd have this sort of thing: namespace me\adamcameron\testApp; use GuzzleHttp\Client; class GuzzleAdapter { private $client 阅读全文
posted @ 2016-12-06 17:47 3002059249 阅读(231) 评论(0) 推荐(0) 编辑
摘要: TP3系列中functions.php文件默认其实是空文件,很好找。我们可以直接封装代码。 Laravel5系列中的path/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php。该文件中封装的函数就是全局函数,可以在任意区域进 阅读全文
posted @ 2016-12-06 17:36 3002059249 阅读(204) 评论(0) 推荐(0) 编辑
摘要: function jmc_new_lib(){// Because we still want the script to load but not the styleswp_enqueue_script( 'wp-mediaelement' );// Enqueue our own styles 阅读全文
posted @ 2016-12-06 17:34 3002059249 阅读(212) 评论(0) 推荐(0) 编辑
摘要: <html><body> <script type="text/javascript">document.write("<h1>这是标题</h1>");document.write("<p>这是段落。</p>");document.write("<p>这是另一个段落。</p>");</script> 阅读全文
posted @ 2016-12-05 15:09 3002059249 阅读(194) 评论(0) 推荐(0) 编辑
上一页 1 ··· 18 19 20 21 22