景山编程-专注编程

景山编程-专注编程

[李景山php]每天TP5-20161203|Loader.php-1

namespace think; // 基于 最基础的 think 命名空间 use think\exception\ClassNotFoundException; // think\exception\ClassNotFoundException // 运行 未发现类 异常 class Load...

2016-09-28 09:07:41

阅读数:257

评论数:0

[李景山php]简单的PHP 任务分配系统

<?php /** * Created by PhpStorm. * User: ziniu * Date: 2016/9/21 * Time: 10:58 */ ///** * 任务描述: * 小白一家有五口人,分别是爸爸、妈妈、哥哥、姐姐, * 每天要执行的家庭任...

2016-09-27 11:21:16

阅读数:1762

评论数:0

[李景山php]每天TP5-20161202|base.php

“`

2016-09-27 09:31:46

阅读数:301

评论数:0

[李景山php]算法系列|php 进行栈操作 之 回文字符串 判定

<?php /** * Created by PhpStorm. * User: ziniu * Date: 2016/9/26 * Time: 16:17 */ // 任务要求:在php中用栈的思路 进行 回文字符串验证 // 知识点: // 回文字符串如: xyzyx,席主席,...

2016-09-26 17:18:25

阅读数:411

评论数:0

[李景山php]每天laravel-20161201|BelongsToMany.php-4

// 2016-09-23 /** * Format the sync list so that it is keyed by ID. * * @param array $records * @return array */ p...

2016-09-26 09:03:46

阅读数:229

评论数:0

一个简单的 go 语言 hello world.

运行环境window: 下载地址: https://golang.org/dl/编写程序如下:package main import "fmt" func main(){ fmt.Println("hello world . 你好 世界!") }...

2016-09-23 21:33:44

阅读数:3085

评论数:0

[李景山php]每天laravel-20161131|BelongsToMany.php-3

/** * Save a new model and attach it to the parent model. * * @param \Illuminate\Database\Eloquent\Model $model * @param array...

2016-09-23 09:07:32

阅读数:308

评论数:0

[李景山php]算法系列|php 进行队列操作

<?php /** * Created by PhpStorm. * User: ziniu * Date: 2016/9/22 * Time: 16:22 */// php 队列 实现/** * 队列任务背景: * php小菜跟新来的美女同事要QQ号码,作为资深美女程序员,给...

2016-09-22 16:59:29

阅读数:589

评论数:2

[李景山php]每天laravel-20161130|BelongsToMany.php-2

/** * Get the pivot attributes from a model. * * @param \Illuminate\Database\Eloquent\Model $model * @return array */ ...

2016-09-22 09:07:50

阅读数:294

评论数:0

[李景山php]每天laravel-20161129|BelongsToMany.php-1

namespace Illuminate\Database\Eloquent\Relations;use Illuminate\Support\Arr; use Illuminate\Support\Str; use Illuminate\Database\Eloquent\Model; use ...

2016-09-21 08:54:07

阅读数:536

评论数:0

[李景山php]算法系列|php 实现快速排序

<?php /** * Created by PhpStorm. * User: ziniu * Date: 2016/9/20 * Time: 16:04 */ // 快速排序 $parameter = array(6,1,2,7,9,3,4,5,10,8); $left = 0...

2016-09-20 16:48:12

阅读数:414

评论数:2

[李景山php]每天laravel-20161128|BelongsTon.php

<?phpnamespace Illuminate\Database\Eloquent\Relations;use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Builder; use Illumi...

2016-09-20 09:04:25

阅读数:186

评论数:0

[李景山php]算法系列|php 实现 冒泡排序!

<?php /** * Created by PhpStorm. * User: ziniu * Date: 2016/9/19 * Time: 16:05 */ // 冒泡排序 $targetArray = array(99,76,350,108,12); function Bu...

2016-09-19 16:25:32

阅读数:302

评论数:0

[李景山php]每天laravel-20161127|InstallCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Console\Command; use Symfony\Component\Console\Input\InputOption; use Illumin...

2016-09-19 08:59:32

阅读数:86

评论数:0

[李景山php]每天laravel-20161126|MigrateCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Console\ConfirmableTrait; use Illuminate\Database\Migrations\Migrator; use Sy...

2016-09-19 08:58:27

阅读数:156

评论数:0

[李景山php]每天laravel-20161125|MigrateMakeCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Support\Composer; use Illuminate\Database\Migrations\MigrationCreator; // nam...

2016-09-19 08:57:19

阅读数:189

评论数:0

[李景山php]每天laravel-20161124|RefreshCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Console\Command; use Illuminate\Console\ConfirmableTrait; use Symfony\Compone...

2016-09-19 08:56:27

阅读数:91

评论数:0

[李景山php]每天laravel-20161123|ResetCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Console\Command; use Illuminate\Console\ConfirmableTrait; use Illuminate\Data...

2016-09-19 08:55:21

阅读数:163

评论数:0

[李景山php]每天laravel-20161122|RollbackCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Console\Command; use Illuminate\Console\ConfirmableTrait; use Illuminate\Data...

2016-09-19 08:54:10

阅读数:189

评论数:0

[李景山php]每天laravel-20161121|StatusCommand.php

<?phpnamespace Illuminate\Database\Console\Migrations;use Illuminate\Database\Migrations\Migrator; use Symfony\Component\Console\Input\InputOption...

2016-09-19 08:52:23

阅读数:145

评论数:0

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