1、@ 符号: 用于屏蔽错误信息、抑制报错的(如在方法调用时),有时候你希望自己来处理错误,而不是由系统自动处理。
2、error_reporting():Sets which PHP errors are reported
3、strpos() —查找字符串首次出现的位置
4、boolfunction_exists ( string $function_name
):ReturnTRUE
if the given function has been defined
5、stringrealpath ( string $path
):返回规范化的绝对路径名
6、stringdirname (string$path
):返回路径中的目录部分
mixedstr_replace ( mixed$search
,mixed$replace
,mixed$subject
[,int&$count
] )
booldefine (string$name
, mixed$value
[,bool$case_insensitive
= false ] )
mixedpathinfo ( string $path
[, int $options
] )
$status
] )
$status
)
$array1
,
array $array2
[,
array $ ...
] )
array array_merge ( array $array1
[, array $array2
[, array $...
]] )
string ucfirst ( string $str
)
bool class_exists ( string $class_name
[, bool $autoload
] )
require_once()
$text
)$text
)$error_handler
[, int$error_types
= E_ALL | E_STRICT ] )$class_name
)$callback
,array$arr1
[,array$...
] )$needle
,array$haystack
[,bool$strict
] )$callback
, array$param_arr
)
string get_class ([object $obj
] )
array get_class_methods (mixed$class_name
)
array get_declared_classes (void )
int count ( mixed $var
[, int $mode
] )
mixed end ( array &$array
)
array explode ( string $separator
, string $string
[, int $limit
] )
string implode ( string $glue
, array $pieces
)