Better check for PHP params