array(6) {
["url"] => string(1) "/"
["widget"] => string(14) "Widget_Archive"
["action"] => string(6) "render"
["regx"] => string(8) "|^[/]?$|"
["format"] => string(1) "/"
["params"] => array(0) {
}
}
regx中的值是用|斜杠做定界符,不是用/或#吗?preg_match()函数
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证0级讲师