函数声明:
参数:
子类继承父类时,原参数顺序上的一些有默认值的得提供。
5.2 可以不用,但是5.4必须要否则会报错.
字符串充当变量名。类名
5.2 可以用字符串调用静态方法,如:
$class=”Test”;
$class::test();
5.4 不行,会直接报错.
函数
in_array();
var_export(in_array(0,array('a')));//true var_export(in_array(false,array('a')));//false var_export(in_array('',array('a')));//false var_export(in_array(null,array('a')));//false var_export(in_array('0',array('a',0)));//true
转发请注明出处http://blog.martoo.cn
如有漏缺,请联系我 QQ 243008827
Attractive section of content. I just stumbled upon your blog and in accession capital to assert that I acquire actually enjoyed account your blog posts. Any way I’ll be subscribing to your feeds and even I achievement you access consistently quickly.