Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Search | Email

Netkiller PHP 手札

PHP Language...

Mr. Neo Chan, 陈景峯(BG7NYT)


中国广东省深圳市龙华新区民治街道溪山美地
518131
+86 13113668890


$Id: book.xml 642 2013-07-19 01:28:13Z netkiller $

版权声明

转载请与作者联系,转载时请务必标明文章原始出处和作者信息及本声明。

文档出处:
http://netkiller.github.io
http://netkiller.sourceforge.net

微信扫描二维码进入 Netkiller 微信订阅号

QQ群:128659835 请注明“读者”

$Date: 2013-07-19 09:28:13 +0800 (Fri, 19 Jul 2013) $


目录

1. 自述
1.1. 系列文档
1.2. 作者简介
1.3. 写给读者
1.4. 文档下载
1.5. 打赏(Donations)
1.5.1. 微信(Wechat)
1.5.2. 支付宝(Alipay)
1.5.3. PayPal Donations
1.5.4. 银行(Bank)
1. PHP
1.1. install and configure
1.2. php 命令
1.2.1. -c <path>|<file> Look for php.ini file in this directory
1.2.2. -d foo[=bar] Define INI entry foo with value 'bar'
1.2.3. --ini Show configuration file names
1.2.4. 配置扫描目录
1.3. php.ini
1.3.1. Time Zone
1.3.2. open_basedir
1.3.3. disable_functions
1.3.4. disable_classes
1.3.5. 隐藏php本版信息
1.4. php-config
1.5. Eclipse PDT
1.6. 内置Web服务器
2. Language Reference
2.1. 常量
2.1.1. __FUNCTION__
2.2. php://stdin & php://stdout
2.3. Functions (函数)
2.3.1. 匿名函数(Anonymous functions)
2.4. Exception
2.5. Generator 生成器
2.6. PHP Classes 类与对象
2.6.1. 构造函数和析构函数 __construct() / __destruct()
2.6.2. Traits
2.6.3. PHP
2.6.4. Example
2.6.4.1. Method
3. Function Reference
3.1. String 字符串操作
3.1.1. 英文大小写
3.1.2. sprintf
3.1.3. str_replace
3.1.4. preg_replace
3.1.5. 去掉字符串两端空白字符
3.2. Array 数组
3.2.1. 删除数组元素
3.2.2. 数组与字符串操作
3.2.3. iconv
3.3. 列出所有function
3.4. php.ini
3.4.1. ini_set
3.4.2. ini_get
3.5. PHP Option
3.6. 操作系统类型
3.7. 日期函数
3.7.1. strtotime
3.7.2. 日期比较
3.7.3. date()
3.7.4. DateTime
3.7.5. ISO 8601
3.8. rand()
3.9. header
3.10. Classes/Objects
3.10.1. class_exists
3.11. 文件操作
3.11.1. file_put_contents
3.12. ERROR 报告与推出函数是
3.13. Web Services / SOAP
3.13.1. Server
3.13.1.1. addFunction
3.13.1.2. setClass
3.13.2. SoapClient
3.13.3. HTTP 验证
3.13.4. Example
3.13.4.1. addFunction 实例
3.14. PHP Data Objects (PDO)
3.14.1. $driver_options
3.14.2. setAttribute
3.14.3. getAttribute
3.14.4. PDO
3.14.4.1. lastInsertId
3.14.5. The PDOStatement class
3.14.5.1. fetch 返回数组
3.14.5.2. 返回对象
3.14.6. FAQ
3.14.6.1. 调试 PDO 程序
3.14.7.
3.15. XML
3.15.1. DOM
3.15.1.1. loadHTML
3.15.1.2. XPath
3.15.1.3. saveHTML
5. PECL :: The PHP Extension Community Library
5.1. pecl 命令
5.1.1. version
5.1.2. list
5.1.2.1. 查看已经安装的扩展
5.1.2.2. 列出扩展文件列表
5.1.3. install
5.1.4. search
5.2. php-apc - APC (Alternative PHP Cache) module for PHP 5
5.2.1. 编译安装 APC Cache
5.3. php5-gd - GD module for php5
5.4. Database Extensions
5.4.1. sqlite
5.4.2. mysqli
5.4.3. MongoDB
5.4.3.1. 安装
5.4.3.2. GridFS
5.4.4. PHP Memcache
5.4.4.1. pecl
5.4.4.2. memcached
5.4.4.3. apt-get
5.4.4.4. example
5.4.5. php-redis.x86_64 : Extension for communicating with the Redis key-value store
5.4.5.1. pecl 安装
5.4.5.2. yum安装
5.4.5.3. 源码编译安装
5.4.5.4. 配置 redis.ini
5.4.5.5. Session 配置
5.4.6. php5-pgsql - PostgreSQL module for php5
5.4.7. PHP connect SQL Server under unix like
5.4.8. MySQL
5.4.9. oracle
5.5. xmlrpc
5.6. openssl
5.7. mcrypt
5.8. mhash
5.9. simplexml
5.10. ionCube
5.11. ZendOptimizer
5.12. zip
5.13. pcntl
5.13.1.
5.14. pthreads
5.14.1. pecl/pthreads requires PHP (version >= 7.0.0RC5), installed version is 5.6.16
5.14.2. Thread
5.14.3. Pool
5.14.4. FAQ
5.14.4.1. You cannot serialize or unserialize PDO instances
5.14.5. 互斥锁
5.14.6. FAQ
5.14.6.1. configure: error: pthreads requires ZTS, please re-compile PHP with ZTS enabled
5.14.6.2. pecl/pthreads requires PHP (version >= 7.0.0RC2), installed version is 5.6.13
5.14.6.3. Class 'Stackable' not found in /path/to/file.php
5.15. libevent
5.15.1. event_base_loop
5.15.2.
5.16. mbstring
5.17. Suhosin
5.18. freetype
5.19. XCache
5.19.1. apt-get
5.19.2. make
5.20. XHProf
5.20.1. XHGui
5.21. Xdebug
5.21.1. Webgrind
5.21.2. WinCacheGrind
5.22. UploadProgress
5.23. msgpack
5.24. iconv
5.25. imagick
5.26. sysvmsg
5.27. exif
5.28. Lua for PHP extension
5.29. libuv php extension
5.30. AMQP
5.30.1. 安装 AMQP
5.30.2. Recv
5.30.3. Send
5.31. ZeroMQ
5.32. Stomp client extension
5.33. Phalcon - High performance PHP framework
5.34. PECL FAQ
5.34.1. Cannot install, php_dir for channel "pecl.php.net" is not writeable by the current user
6. PEAR - PHP Extension and Application Repository
6.1. PEAR 使用说明
6.1.1. php-pear 安装
6.1.2. channel-update
6.1.3. install/uninstall
6.2. Composer
6.2.1. 安装 Composer
6.2.2. 安装 composer.json
6.3. Pyrus
6.4. Pirum is a simple PEAR Channel Server Manager
6.5. PHPUnit - Unit testing framework for PHP
6.5.1. 安装
6.5.1.1. 使用 pear 安装
6.5.1.2. phar 安装
6.5.1.3. 测试安装是否正确
6.6. XML_RSS
6.7. Propel - smart, easy object persistence
6.7.1. 环境配置
6.7.2. PEAR Installer
6.8. Doctrine
6.9. Cache
6.10. Net_Socket
6.11. Unirest - Unirest is a set of lightweight HTTP libraries
6.12. Mail
7. 3rdparty Application
7.1. phpmailer
I. Frameworks
8. Template
8.1. Smarty
8.1.1. Datatime
8.2. Dwoo
8.2.1. Install
9. Phalcon - High performance PHP framework
9.1. 安装配置 Phalcon
9.1.1. Ubuntu
9.1.2. 编译安装
9.1.3. Nginx 配置
9.1.4. Phalcon Developer Tools
9.2. DevTools
9.2.1. 创建项目
9.2.2. 创建控制器
9.3. dispatcher
9.4. cache
9.4.1. Redis 缓存
9.4.2. 多种缓存混合使用
10. CodeIgniter - Open source PHP web application framework
10.1. Nginx
10.2. PHP_CodeSniffer
11. Fuel PHP
11.1. 框架安装
11.1.1. oil
11.1.2. Apache
11.1.3. Nginx
12. Laravel - The PHP framework for web artisans.
13. Kohana
14. Yii
15. Zend Framework
15.1. Install Zend Framework
15.2. Create Your Project
15.3. Create a virtual host
15.4. Database
15.4.1. MySQL
15.4.2. SQLite
15.5. zf.sh
15.5.1. controller
15.5.2. model
15.5.3. layout
15.5.4. form
15.6. Smarty
16. Propel
17. Doctrine
17.1. example
18. React - Event-driven, non-blocking I/O with PHP. (Node.PHP)
19. Ratchet - WebSockets for PHP
19.1.
20. PHP Extension 扩展开发
20.1. Extension Example 创建一个扩展
20.2. PHP_FUNCTION
20.3. PHP_INI
20.4. PHP_MINFO_FUNCTION
20.5. zval to string
20.6. 提交代码到 Composer repository
21. Debug
21.1. FirePHP
22. PHP GUI
22.1. wxPHP - wxWidgets for PHP
23. Miscellaneous
23.1. php function check
23.2. whois 域名查询
23.3. 身份证校验
23.4. PHP PDF 处理库
23.5. Kint - a modern and powerful PHP debugging helper
23.6. snoopy 模拟浏览器操作
23.7. PHP Nightrain
24. FAQ
24.1. Error in TLS handshake, trying SSLv3...
24.2. SQLSTATE[HY000] [2002] No such file or directory
25. 开发规范
25.1. 文件
25.2. String
25.3. 数据库开发规范
25.3.1. 使用pdo_mysql替代mysql
25.3.2. 查询规范
25.3.3. 结果集使用注意事项

范例清单

2.1. 动态增加方法
5.1. php apc cache
5.2. memcache.php
5.3. oracle
5.4. php openssl
5.5. mcrypt
5.6. simplexml
5.7. Threads - Pool
5.8. xhprof/sample.php
6.1. RSS.php