Moved param check for php_*values and php_*flags to definition