ZF-7312: ZF command line tool 'zf create action' modifies and removes function vars

Description

zf command line tool will destroy all variables in all function definitions of the target controller when using 'zf create action'.

Example: zf create action sample users - creates new public function sampleAction() in the UsersController. At the same time it changes all variables in the other actions of the UsersController to just $. That is to say 'public function listAction($var1, $var2, $var3)' becomes 'pubic function listAction($)'.

This is seen inOS X 10.5.7 using PHP 5.2.9 and is repeatable.

Comments

Give me more details, please What variables?