Warning:preg_replace_callback():Modifier /e cannot be used with replacement callback

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/15 12:49:49
Warning:preg_replace_callback():Modifier /e cannot be used with replacement callback
xn1_ZHl^h)Y&b1ʓ> kϺƆYImtXVXD[[܍ݱ

Warning:preg_replace_callback():Modifier /e cannot be used with replacement callback
Warning:preg_replace_callback():Modifier /e cannot be used with replacement callback

Warning:preg_replace_callback():Modifier /e cannot be used with replacement callback
你要在 preg_replace_callback()第二个参数回调一个函数
例:
function my_callback($text){
return $text;
}
echo preg_replace_callback("\^[a-z]\",'my_callback',$text);