随笔分类 -  php

摘要:查询语句: 阅读全文
posted @ 2017-02-26 20:55 沉潜蓄力 阅读(143) 评论(0) 推荐(0)
摘要:1.strtolower(): 该函数将传入的字符串参数所有的字符都转换成小写,并以小写形式放回这个字符串. <?php $str = "Mary Had A Little Lamb and She LOVED It So"; $str = strtolower($str); echo $str; 阅读全文
posted @ 2017-02-20 20:54 沉潜蓄力 阅读(815) 评论(0) 推荐(0)
摘要:(1). $pt = new pt(['test']); echo 'test'; 运行结果为:pt is start ...Array ( [0] => test ) testpt is die... 执行完echo输出在执行析构方法 (2). pt::test1('afad'); 运行结果为:a 阅读全文
posted @ 2017-01-06 19:28 沉潜蓄力 阅读(207) 评论(0) 推荐(0)