prefer strcmp and strcasecmp (except in depreciated wfs.php)