Make Network validator compatible with PHP 5.3