相对路径转化成绝对路径
相对路径转化成绝对路径
2021-12-07 13:30
84 
PHP 正则表达式替换 preg_replace 函数
PHP 正则表达式替换 preg_replace 函数 正则替换 preg_replace() 函数用于正则表达式的搜索和替换。 语法: mixed preg_replace( mixed pattern,
2021-12-07 13:30
138 
smarty 中foreach中iteration变量值就是当前循环次数
smarty 中foreach中iteration变量值就是当前循环次数 例子: {foreach key=key item=item from=$contact name=name} {$key}: {$
2021-12-07 13:30
81 
php array_diff_key 使用键名比较计算数组的差集
array_diff_key (PHP 5 >= 5.1.0RC1) array_diff_key -- 使用键名比较计算数组的差集 说明 array array_diff_key ( array array
2021-12-07 13:30
98 
使用反斜线引用字符串 addslashes
if(!function_exists(_addslashes)){ function _addslashes($str){ if(get_magic_quotes_gpc()){ return $str
2021-12-07 13:29
82 
php cal_days_in_month
cal_days_in_month (PHP 4 >= 4.1.0, PHP 5) cal_days_in_month -- Return the number of days in a month for a
2021-12-07 13:29
91 
set_error_handler 设置一个用户定义的错误处理函数
set_error_handler (PHP 4 >= 4.0.1, PHP 5) set_error_handler -- Sets a user-defined error handler function
2021-12-07 13:29
87 
strpos 查找字符串中第一次出现的位置
strpos (PHP 3, PHP 4, PHP 5) strpos -- 查找字符串中第一次出现的位置 描述Find position of first occurrence of a string De
2021-12-07 13:29
93 
T:0.011152s,M:382.12 KB
返回顶部 留言