景山编程-专注编程

景山编程-专注编程

[李景山php]每天TP5-20170105|thinkphp5-File.php-2

/** * 检测上传文件 * @param array $rule 验证规则 * @return bool */ public function check($rule = []) {// 检测 上传 文件 $ru...

2016-11-30 08:42:23

阅读数:411

评论数:0

golang 函数证明数组为 值类型 数据

package mainimport "fmt"func modify(arr [5]int) { arr[0] = 10 // 试图修改数组的第一元素 fmt.Println("In modify() arr values:", arr) ...

2016-11-29 08:37:30

阅读数:298

评论数:0

[李景山php]每天TP5-20170104|thinkphp5-File.php-1

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-29 08:36:17

阅读数:380

评论数:0

[李景山php]每天TP5-20170103|thinkphp5-Exception.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-29 08:35:22

阅读数:519

评论数:0

[李景山php]每天TP5-20170102|thinkphp5-Env.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-29 08:33:56

阅读数:627

评论数:0

[李景山php]每天TP5-20170101|thinkphp5-Debug.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-29 08:32:09

阅读数:635

评论数:0

[李景山php]每天TP5-20161231|thinkphp5-Db.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-28 08:35:15

阅读数:625

评论数:0

[李景山php]每天TP5-20161230|thinkphp5-Cookie.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-25 08:54:20

阅读数:1114

评论数:0

[李景山php]每天TP5-20161229|thinkphp5-Controller.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-24 08:39:54

阅读数:494

评论数:0

[李景山php]每天TP5-20161228|thinkphp5-Console.php-5

/** * 设置默认命令 * @return Command[] An array of default Command instances */ protected function getDefaultCommands() {// 获取默认命令 ...

2016-11-23 08:39:34

阅读数:379

评论数:0

[李景山php]每天TP5-20161227|thinkphp5-Console.php-4

/** * 获取所有的指令 * @param string $namespace 命名空间 * @return Command[] * @api */ public function all($namespace = null) {...

2016-11-22 08:42:59

阅读数:194

评论数:0

[李景山php]每天TP5-20161226|thinkphp5-Console.php-3

/** * 某个指令是否存在 * @param string $name 指令名称 * @return bool */ public function has($name) { return isset($this->c...

2016-11-18 08:35:53

阅读数:350

评论数:0

[李景山php]每天TP5-20161225|thinkphp5-Console.php-2

/** * 执行指令 * @param Input $input * @param Output $output * @return int */ public function doRun(Input $input, Output $o...

2016-11-17 08:38:20

阅读数:377

评论数:0

go 语言 net 扩展 模拟 tcp 收发

发送:package mainimport ( "fmt" "net" )func main() { tcpAddr, err := net.ResolveTCPAddr("tcp4", "106.14....

2016-11-16 08:38:16

阅读数:243

评论数:0

[李景山php]每天TP5-20161224|thinkphp5-Console.php-1

namespace think;use think\console\Command;// 控制台 命令 use think\console\command\Help as HelpCommand; // 帮助命令 use think\console\Input;// 输入 use think\co...

2016-11-16 08:35:45

阅读数:346

评论数:0

new static 跟 new self 区别

<?php /** * Created by PhpStorm. * User: 27394 * Date: 2016/11/15 * Time: 8:35 */ class A{ public static function __contruct(){ e...

2016-11-15 08:43:46

阅读数:647

评论数:0

[李景山php]每天TP5-20161223|thinkphp5-Collection.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-15 08:34:36

阅读数:1055

评论数:0

[李景山php]每天TP5-20161222|thinkphp5-Cache.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-14 08:39:25

阅读数:510

评论数:0

[李景山php]每天TP5-20161221|thinkphp5-jump.php

<?php/** * 用法: * load_trait('controller/Jump'); * class index * { * use \traits\controller\Jump; * public function index(){ * ...

2016-11-11 08:42:36

阅读数:725

评论数:0

[李景山php]每天TP5-20161220|thinkphp5-build.php

<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK ] // +-------------------...

2016-11-11 08:40:56

阅读数:736

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭