<?php
class demo
{
public function test()
{
echo 'mvc program!';
}
public function test2()
{
echo 'this is test2!';
}
}
call_user_func_array(array($_GET['c'], $_GET['m']),array());
<?php
class demo
{
public function test()
{
echo 'mvc program!';
}
public function test2()
{
echo 'this is test2!';
}
}
call_user_func_array(array($_GET['c'], $_GET['m']),array());
本文标题:最简MVC
本文链接:https://www.haomeiwen.com/subject/haljittx.html
网友评论