![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
iteye_13622
这个作者很懒,什么都没留下…
展开
-
PHP内建常量
PHP_OS : 操作系統 __FILE__ : 运行的PHP程式所在目录原创 2011-11-10 14:31:14 · 113 阅读 · 0 评论 -
PHP函数之-字符串函数
一、大小写转换 string strtoupper(string str) : 字符串转大写 string strtolower(string str) : 字符串转小写 string ucfirst(string str): 首字母大写 二、字符串截取 string substr(string str,int start,int length) : 截取字符串 三、查找 ...原创 2011-11-10 14:31:32 · 101 阅读 · 0 评论 -
PHP理解之一:this,self,parent三个关键字之间的区别【转】
转自:http://hi.baidu.com/sneidar/blog/item/4c0015ecd4da9d38269791d3.html PHP5是一具备了大部分面向对象语言的特性的语言,比PHP4有了很多的面向对象的特性,但是有部分概念也比较难以理解,这里我主要谈的是 this,self,parent三个关键字之间的区别。从字面上比较好理解,分别是指这、自己、父亲。我们先建立几个...原创 2011-11-10 14:55:43 · 132 阅读 · 0 评论 -
PHP理解之二:include,include_once,require,require_once之间的区别【转】
转自:http://registerboy.pixnet.net/blog/post/2426163 require() is identical to include() except upon failure it will produce a fatal E_ERROR level error. In other words, it will halt the scr...原创 2011-11-10 23:06:11 · 116 阅读 · 0 评论 -
PHP理解之三:PHP的类自动加载【转】
转:http://www.liuhui.info/article78.html spl_autoload_register()函数应该是主流框架使用最多的也是非常核心的函数之一,可实现自动注册函数和类,实现类似__autoload() 函数功能,简化了类的调用与加载,提高了工作的效率,这里通过一个实验谈谈这个函数的部分特征。函数原型 bool spl_autoload_regi...原创 2011-11-10 23:57:39 · 97 阅读 · 0 评论