摘要:参见: http://www.phppan.com/2011/06/php-strtotime/ http://developer.51cto.com/art/201107/275478.htm PHP 日期转换为时间戳 strtotime 与 mktime 函数:http://www.5idev.
阅读全文
posted @ 2016-04-20 16:23
04 2016 档案
摘要:参见: http://www.phppan.com/2011/06/php-strtotime/ http://developer.51cto.com/art/201107/275478.htm PHP 日期转换为时间戳 strtotime 与 mktime 函数:http://www.5idev.
阅读全文
posted @ 2016-04-20 16:23
摘要:<?php$dir = dirname(__FILE__);?>在PHP5.3中,增加了一个新的常量__DIR__,指向当前执行的PHP脚本所在的目录。例如当前执行的PHP文件为 /www/website/index.php则__FILE__等于'/www/website/index.php'而__
阅读全文
posted @ 2016-04-19 22:16
摘要:来源于:http://www.jb51.net/article/36389.htm 命名空间一个最明确的目的就是解决重名问题,PHP中不允许两个函数或者类出现相同的名字,否则会产生一个致命的错误。这种情况下只要避免命名重复就可以解决。 命名空间一个最明确的目的就是解决重名问题,PHP中不允许两个函数
阅读全文
posted @ 2016-04-19 21:14
|
||