--TEST-- Issue #420 (bug in yaf_dispatcher_get_call_parameters) --SKIPIF-- --INI-- yaf.use_spl_autoload=1 yaf.lowcase_path=0 yaf.throw_exception=0 yaf.catch_exception=1 yaf.use_namespace=0 --FILE-- array( "directory" => APPLICATION_PATH, ), ); file_put_contents(APPLICATION_PATH . "/controllers/Index.php", <<setControllerName('Foo_Bar', false); var_dump($req->getControllerName()); $req->setControllerName('index'); $req->setActionName('func'); $req->setParam(array('b' => 'the second param')); $app->getDispatcher()->dispatch($req); $req->clearParams(); $req->setParam(array('a' => 'the first param')); $app->getDispatcher()->dispatch($req); ?> --CLEAN-- --EXPECT-- string(7) "Foo_Bar" int(0) string(16) "the second param" string(15) "the first param" int(1)