bug
colly_wyx
2018-05-09 f70b63d5f3644f4983c71ef59b7a48c115b72f1d
application/controllers/Index.php
@@ -1,14 +1,6 @@
<?php
   class IndexController extends Yaf_Controller_Abstract{
      public function indexAction(){
         //$this->_view->word = "hello world";
         $message = 'hello';
$example = function ($data) use ($message){
  return "{$data},{$message}";
};
echo $example('world');
         //or
         //$this->getView()->word = "hello world";
         $this->redirect('/user_login.html');
      }
   }