fix typo and rename

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6483 7882d7ee-46e0-0310-a255-a28a61b628e4
initialize array before using it

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6484 7882d7ee-46e0-0310-a255-a28a61b628e4
declare variable before usage

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6485 7882d7ee-46e0-0310-a255-a28a61b628e4
declare variable before usage

git-svn-id: https://svn.muze.nl/svn/ariadne-php5/trunk@6486 7882d7ee-46e0-0310-a255-a28a61b628e4