Update validation.md

Avoid using PHP 5.4 array notation.