define $arr variable
Revert "define $arr variable"

This reverts commit 497553f4aa6d144b9e4756139264776e6e66a739.
define $arr variable
fix PHP Strict Warning about passing references and check for variable assignment