Fixing the error that causes incompatibility with 5.3 and lower

http://us2.php.net/manual/en/language.types.array.php
Example #1, the first version (applied in the PR) should work fine for 5.3 and lower.