報錯了呢?
用zend調試時候怎么出現以下內容了,親們,求助啊~~~
Parse error: syntax error, unexpected end of file in
D:\xampp\htdocs\test\ImoocMVC02\function.php(28) : eval()'d code on line
1
Fatal error: Call to a member function display() on a
non-object in
D:\xampp\htdocs\test\ImoocMVC02\libs\Controller\testController.class.php on line 8
2015-03-10
$testView->display($data);
2015-05-04
我估計你在index.php里面也有錯,你貼上來看看
2015-03-05
問題已經解決,function.php中28行eval('$obj?=?new?'.$name.'View()');應為eval('$obj?=?new?'.$name.'View();');
少加了個分號~~~
2015-03-05
testController.class.php
2015-03-05
function.php