This function really should have and use the maxlen parameter mentioned in the comment, that is not present in the actual function, instead of the literal 2147483647!
PHP Code:
/**
* Removes a list of strings from a string.
*
* @param buffer Input/Ourput buffer.
* @param maxlen Max size of buffer.
* @param removeList A list of strings which should be removed from buffer.
* @param size Number of Strings in the List.
* @noreturn
*/
stock String_RemoveList(String:buffer[], String:removeList[][], size, bool:caseSensitive=false)
{
for (new i=0; i < size; i++) {
ReplaceString(buffer, 2147483647, removeList[i], "", caseSensitive);
}
}