You are now logged out.
5 |Thank you for visiting!
6 |├── README.md
├── sixstar
├── Laravel
│ ├── 1facade
│ │ ├── Client.php
│ │ ├── Function1.php
│ │ ├── Function2.php
│ │ └── Facade.php
│ ├── 2ioc
│ │ └── IoC.php
│ └── 6adapter
│ │ └── adapter.php
└── redis
│ ├── composer.json
│ └── redis.php
├── daimashengji
├── README.md
├── 2.php
├── 3.php
├── 1.php
└── 4.php
├── phphexinjishuyuzuijiashijian
├── a.txt
├── php_list
│ ├── list.h
│ ├── CREDITS
│ ├── EXPERIMENTAL
│ ├── config.w32
│ ├── php_list.php
│ └── tests
│ │ └── 001.phpt
├── README.md
├── .DS_Store
├── dbtest.idx
├── post_output.php
├── 7.php
├── 6.php
├── 8.php
├── template
│ └── member.m
├── cache
│ └── aa08769cdcb26674c6706093503ff0a3.php
├── 5.php
├── 10.php
├── 10worker.php
├── 3_1socketserver.php
└── 4.php
├── 枕边算法
├── 1.4.php
├── 3.2.php
├── 3.1.php
├── 1.6.php
└── 1.7.php
├── phpunit
├── data.csv
├── phpunit.xml
├── 5_1tests
│ ├── phpunit.xml
│ └── StackTest4.php
├── SomeClass9_1.php
├── 8_1test
│ ├── phpunit.xml
│ └── Generic_Tests_DatabaseTestCase8_3.php
├── composer.json
├── DatabaseTest7_3.php
├── DependencyFailureTest.php
├── SampleTest7_1.php
├── ExpectedErrorTest.php
├── Database4_3.php
├── DatabaseTest7_2.php
├── OutputTest.php
├── Example9_5.php
├── ExceptionTest.php
├── ErrorSuppressionTest.php
├── MyGuestbookTest8_1.php
├── TraitClassTest9_3.php
├── MultipleDependenciesTest.php
├── AbstractClassTest9_3.php
├── StackTest4.php
├── DataTest.php
├── ExampleTest9_5.php
├── MyApp_Tests_DatabaseTestCase8_2.php
├── CsvFileIterator.php
└── DependencyAndDataProviderComboTest.php
├── shenrulijiephp
├── 2
│ ├── .htaccess
│ ├── footer.html
│ ├── search.inc.php
│ └── index.php
├── 3
│ └── sessions.php
├── 5
│ └── square.php
├── 6
│ ├── Shape.php
│ ├── trait.php
│ ├── hinting2.php
│ ├── abstract.php
│ ├── tDebug.php
│ ├── Company.php
│ ├── hinting.php
│ └── Triangle.php
├── 7
│ ├── Shape.php
│ ├── sigleton.php
│ ├── ShapFactory.php
│ ├── composite.php
│ ├── factory.php
│ ├── Config.php
│ ├── tDebug.php
│ └── Triangle.php
├── 8
│ ├── data.txt
│ ├── write_to_file.php
│ ├── write_to_file2.php
│ ├── write_to_file3.php
│ └── factory.php
├── 9
│ ├── images
│ │ ├── .DS_Store
│ │ ├── book.png
│ │ ├── logo-bg.png
│ │ └── header-bg.png
│ ├── css
│ │ ├── fonts
│ │ │ ├── amble-regular-webfont.eot
│ │ │ ├── amble-regular-webfont.ttf
│ │ │ ├── amble-regular-webfont.woff
│ │ │ └── fonts.css
│ │ └── ie6-7.css
│ ├── views
│ │ ├── logout.html
│ │ ├── index.html
│ │ ├── page.html
│ │ ├── error.html
│ │ ├── add_page.html
│ │ └── login.html
│ ├── js
│ │ └── custom-jquery.js
│ ├── logout.php
│ ├── includes
│ │ └── utilities.inc.php
│ └── index.php
├── 10
│ ├── curl.php
│ ├── ip_geo.php
│ ├── get_quote.php
│ └── service.php
├── 11
│ ├── set_mcrypt.php
│ └── read_mcrypt.php
├── 12
│ ├── number2.php
│ └── temperature.php
├── 13
│ └── books4.xml
├── 14
│ ├── .DS_Store
│ ├── composer.json
│ └── RectangleTest.php
├── .DS_Store
├── 1-2.php
└── 1.php
├── laravelkuangjiaguanjianjishujiexi
├── 3
│ ├── 3.4.php
│ ├── file1.php
│ ├── file2.php
│ └── 3.5.php
├── 6
│ └── 6.1.1.php
├── laravel
│ ├── public
│ │ ├── favicon.ico
│ │ ├── robots.txt
│ │ ├── .htaccess
│ │ └── web.config
│ ├── storage
│ │ ├── logs
│ │ │ └── .gitignore
│ │ ├── app
│ │ │ ├── public
│ │ │ │ └── .gitignore
│ │ │ └── .gitignore
│ │ └── framework
│ │ │ ├── cache
│ │ │ └── .gitignore
│ │ │ ├── views
│ │ │ └── .gitignore
│ │ │ ├── sessions
│ │ │ └── .gitignore
│ │ │ └── testing
│ │ │ └── .gitignore
│ ├── bootstrap
│ │ ├── cache
│ │ │ └── .gitignore
│ │ └── autoload.php
│ ├── .gitattributes
│ ├── tests
│ │ ├── TestCase.php
│ │ ├── Unit
│ │ │ └── ExampleTest.php
│ │ ├── CreatesApplication.php
│ │ └── Feature
│ │ │ └── ExampleTest.php
│ ├── resources
│ │ ├── assets
│ │ │ ├── sass
│ │ │ │ ├── app.scss
│ │ │ │ └── _variables.scss
│ │ │ └── js
│ │ │ │ ├── app.js
│ │ │ │ └── components
│ │ │ │ └── Example.vue
│ │ ├── views
│ │ │ └── backyard
│ │ │ │ ├── include
│ │ │ │ └── sidebar.blade.php
│ │ │ │ ├── notes
│ │ │ │ └── show.blade.php
│ │ │ │ └── index
│ │ │ │ └── index.blade.php
│ │ └── lang
│ │ │ └── en
│ │ │ ├── pagination.php
│ │ │ ├── auth.php
│ │ │ └── passwords.php
│ ├── database
│ │ ├── seeds
│ │ │ └── DatabaseSeeder.php
│ │ └── factories
│ │ │ └── ModelFactory.php
│ ├── app
│ │ ├── Http
│ │ │ ├── Middleware
│ │ │ │ ├── EncryptCookies.php
│ │ │ │ ├── VerifyCsrfToken.php
│ │ │ │ ├── TrimStrings.php
│ │ │ │ └── RedirectIfAuthenticated.php
│ │ │ └── Controllers
│ │ │ │ ├── Controller.php
│ │ │ │ └── Auth
│ │ │ │ ├── ForgotPasswordController.php
│ │ │ │ ├── LoginController.php
│ │ │ │ ├── ResetPasswordController.php
│ │ │ │ └── WebAuthController.php
│ │ ├── Providers
│ │ │ ├── BroadcastServiceProvider.php
│ │ │ ├── AppServiceProvider.php
│ │ │ ├── AuthServiceProvider.php
│ │ │ └── EventServiceProvider.php
│ │ ├── User.php
│ │ ├── Models
│ │ │ └── Users.php
│ │ └── Console
│ │ │ └── Kernel.php
│ ├── routes
│ │ ├── channels.php
│ │ ├── api.php
│ │ ├── console.php
│ │ └── web.php
│ ├── webpack.mix.js
│ ├── .env.example
│ ├── server.php
│ ├── config
│ │ ├── view.php
│ │ └── services.php
│ ├── phpunit.xml
│ └── package.json
└── lara
│ ├── public
│ └── resource
│ │ └── views
│ │ └── welcome.blade.php
│ ├── composer.json
│ ├── app
│ ├── Models
│ │ └── Student.php
│ └── Http
│ │ └── routes.php
│ └── config
│ └── database.php
├── modernphp
├── stream.txt
├── .DS_Store
├── urls.csv
├── .travis.yml
├── tests
│ └── bootstrap.php
├── composer.json
├── src
│ ├── Baz
│ │ └── Qux.php
│ └── Whovian.php
├── phpunit.xml
├── ex6.php
├── ex3.php
├── ex5.php
└── ex2.php
├── .gitignore
├── .DS_Store
├── phpbianchengshizhan
├── qbf.txt
├── .DS_Store
├── image.jpg
├── thumb.png
├── animals.phar
├── scott.sqlite
├── 3.php
├── 4-1.php
├── stub.php
├── composer.json
├── domestic.php
├── 14.php
└── wild.php
├── phpprogramming
├── .DS_Store
├── fpdf181
│ ├── tutorial
│ │ ├── logo.png
│ │ ├── 20k_c1.txt
│ │ ├── calligra.z
│ │ ├── calligra.ttf
│ │ ├── makefont.php
│ │ ├── tuto1.php
│ │ ├── tuto7.php
│ │ ├── countries.txt
│ │ ├── index.htm
│ │ └── tuto2.php
│ ├── license.txt
│ ├── font
│ │ ├── courier.php
│ │ ├── courierb.php
│ │ ├── courieri.php
│ │ └── courierbi.php
│ ├── doc
│ │ ├── pageno.htm
│ │ ├── getpagewidth.htm
│ │ ├── getpageheight.htm
│ │ ├── getx.htm
│ │ ├── gety.htm
│ │ ├── setfontsize.htm
│ │ ├── getstringwidth.htm
│ │ ├── close.htm
│ │ ├── ln.htm
│ │ ├── setx.htm
│ │ ├── error.htm
│ │ ├── settopmargin.htm
│ │ ├── setrightmargin.htm
│ │ ├── addlink.htm
│ │ ├── setlinewidth.htm
│ │ ├── setxy.htm
│ │ ├── setleftmargin.htm
│ │ ├── line.htm
│ │ ├── sety.htm
│ │ ├── setcompression.htm
│ │ ├── settitle.htm
│ │ ├── setsubject.htm
│ │ ├── setauthor.htm
│ │ ├── setlink.htm
│ │ ├── setkeywords.htm
│ │ ├── setcreator.htm
│ │ ├── setmargins.htm
│ │ └── setautopagebreak.htm
│ └── install.txt
└── 10.php
├── swoole
├── reload.sh
├── 3-sql.txt
├── reload_page.php
├── httpserver.php
├── websocketserver.php
├── 1-Client.php
├── 5-Client-EOF.php
└── 5-Server-HTTP.php
├── LearningPHPDesignPatterns
├── 1factory
│ ├── Product.php
│ ├── 参数工厂
│ │ ├── Product.php
│ │ ├── Creator.php
│ │ ├── TextProduct.php
│ │ ├── GraphicProduct.php
│ │ ├── CountryFactory.php
│ │ └── Client.php
│ ├── Creator.php
│ ├── TextFactory.php
│ ├── GraphicFactory.php
│ ├── TextProduct.php
│ ├── GraphicProduct.php
│ └── Client.php
├── 10proxy
│ └── proxy.php
├── 6prototype
│ └── prototype.php
├── 18templatemethod
│ └── template-method.php
├── 19singleton
│ └── singleton.php
├── 9chainofresponsibility
│ └── chain.php
├── 16bridge
│ └── bridge.php
├── 7command
│ └── command.php
├── 8strategy
│ └── strategy.php
└── 20state
│ └── state.php
├── phpinfo.php
├── shenruphpmianxiangduixiangmoshiyushijian
├── .DS_Store
├── composer.json
├── 12.php
└── 9.php
├── phpcookbook
├── 20170311.php
├── 20170306.php
└── 20170305.php
├── mytools
├── 数字转英文字母组合(Excel列).php
├── 文字所有组合.php
├── 数组对象转换.php
└── 字符中间加星号中英文.php
├── 面试题
├── 数组交集.php
└── zhugezhaofang.php
└── learningphp7highperformance
└── 2
└── 2.1.php
/README.md:
--------------------------------------------------------------------------------
1 | # zhangyue的php练习代码库
2 |
--------------------------------------------------------------------------------
/sixstar/Laravel/1facade/Client.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/daimashengji/README.md:
--------------------------------------------------------------------------------
1 | # 代码审计企业级web代码安全架构
2 |
--------------------------------------------------------------------------------
/phphexinjishuyuzuijiashijian/a.txt:
--------------------------------------------------------------------------------
1 | it's empty now
--------------------------------------------------------------------------------
/phphexinjishuyuzuijiashijian/php_list/list.h:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/枕边算法/1.4.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/phphexinjishuyuzuijiashijian/php_list/CREDITS:
--------------------------------------------------------------------------------
1 | php_list
--------------------------------------------------------------------------------
/phphexinjishuyuzuijiashijian/php_list/EXPERIMENTAL:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/phpunit/data.csv:
--------------------------------------------------------------------------------
1 | 0,0,0
2 | 0,1,1
3 | 1,0,1
4 | 1,1,3
--------------------------------------------------------------------------------
/shenrulijiephp/8/data.txt:
--------------------------------------------------------------------------------
1 | This is a line of data.\n
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/public/favicon.ico:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modernphp/stream.txt:
--------------------------------------------------------------------------------
1 | aaa
2 | bbb
3 | ccc
4 | ddd
5 | aaagrimebbb
--------------------------------------------------------------------------------
/phphexinjishuyuzuijiashijian/README.md:
--------------------------------------------------------------------------------
1 | # php核心技术与最佳实践练习代码
2 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | .gitignore
3 | */vendor
4 | *vendor
5 | *backups
--------------------------------------------------------------------------------
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/.DS_Store
--------------------------------------------------------------------------------
/phpbianchengshizhan/qbf.txt:
--------------------------------------------------------------------------------
1 | quick brown fox
2 | jumps over
3 | the lazy dog
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/bootstrap/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/public/robots.txt:
--------------------------------------------------------------------------------
1 | User-agent: *
2 | Disallow:
3 |
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/app/public/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/modernphp/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/modernphp/.DS_Store
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/framework/cache/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/framework/views/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/modernphp/urls.csv:
--------------------------------------------------------------------------------
1 | http://www.baidu.com
2 | www.jianshenchao.com
3 | http://www.jianshenchao1.com
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/app/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !public/
3 | !.gitignore
4 |
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/framework/sessions/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/laravelkuangjiaguanjianjishujiexi/laravel/storage/framework/testing/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/phpprogramming/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/phpprogramming/.DS_Store
--------------------------------------------------------------------------------
/shenrulijiephp/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/shenrulijiephp/.DS_Store
--------------------------------------------------------------------------------
/shenrulijiephp/14/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/shenrulijiephp/14/.DS_Store
--------------------------------------------------------------------------------
/phpbianchengshizhan/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/phpbianchengshizhan/.DS_Store
--------------------------------------------------------------------------------
/phpbianchengshizhan/image.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/phpbianchengshizhan/image.jpg
--------------------------------------------------------------------------------
/phpbianchengshizhan/thumb.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/phpbianchengshizhan/thumb.png
--------------------------------------------------------------------------------
/swoole/reload.sh:
--------------------------------------------------------------------------------
1 | echo "Reloading..."
2 | cmd=$(pidof reload_master)
3 |
4 | kill -USR1 "$cmd"
5 | echo "Reloaded"
--------------------------------------------------------------------------------
/phpbianchengshizhan/animals.phar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/phpbianchengshizhan/animals.phar
--------------------------------------------------------------------------------
/phpbianchengshizhan/scott.sqlite:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/phpbianchengshizhan/scott.sqlite
--------------------------------------------------------------------------------
/shenrulijiephp/9/images/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/shenrulijiephp/9/images/.DS_Store
--------------------------------------------------------------------------------
/shenrulijiephp/9/images/book.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/shenrulijiephp/9/images/book.png
--------------------------------------------------------------------------------
/shenrulijiephp/9/images/logo-bg.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zhangyue0503/php/HEAD/shenrulijiephp/9/images/logo-bg.png
--------------------------------------------------------------------------------
/LearningPHPDesignPatterns/1factory/Product.php:
--------------------------------------------------------------------------------
1 | 在视图中显示学生信息
2 | 学生 id:{{$data['id']}}; Thank you for visiting!
3 | 学生 name:{{$data['name']}};
4 | 学生 age:{{$data['age']}};
--------------------------------------------------------------------------------
/phpprogramming/fpdf181/tutorial/makefont.php:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/swoole/reload_page.php:
--------------------------------------------------------------------------------
1 | factoryMethod();
8 | }
9 | }
--------------------------------------------------------------------------------
/shenrulijiephp/9/views/logout.html:
--------------------------------------------------------------------------------
1 |
2 | You are now logged out.
5 |
$CONFIG["live"]:'.$CONFIG->get('live')."
"; 13 | 14 | $TEST = $CONFIG::getInstance(); 15 | echo '$TEST["live"]:'.$TEST->get('live')."
"; 16 | 17 | unset($CONFIG,$TEST); -------------------------------------------------------------------------------- /phpbianchengshizhan/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "zhangyue/phpbianchengshizhan", 3 | "authors": [ 4 | { 5 | "name": "zhangyue0503", 6 | "email": "zhangyue0503@hotmail.com" 7 | } 8 | ], 9 | "require": { 10 | "simplepie/simplepie": "^1.4", 11 | "tecnickcom/tcpdf": "^6.2", 12 | "phpmailer/phpmailer": "^5.2", 13 | "phpunit/phpunit": "^5.7" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /laravelkuangjiaguanjianjishujiexi/lara/config/database.php: -------------------------------------------------------------------------------- 1 | 'mysql', 13 | 'host' => 'localhost', 14 | 'database' => 'lara', 15 | 'username' => 'root', 16 | 'password' => '', 17 | 'charset' => 'utf8', 18 | 'collation' => 'utf8_general_ci', 19 | 'prefix' => '' 20 | ]; -------------------------------------------------------------------------------- /laravelkuangjiaguanjianjishujiexi/laravel/app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | 2 |{$page->getIntro()}
8 | 9 |