Update validation.md

Avoid using PHP 5.4 array notation.
Merge pull request #18 from GaryJones/patch-6

Update validation.md