// Warn for random placeholders that won't be replaced.
trigger_error(sprintf('Invalid placeholder (%s) with string: "%s"',$key,$string),E_USER_WARNING);
trigger_error(sprintf('Placeholders must begin with one of the following "@", ":" or "%%", invalid placeholder (%s) with string: "%s"',$key,$string),E_USER_WARNING);
}
// No replacement possible therefore we can discard the argument.
['Non alpha, non-allowed starting character: ~placeholder',['~placeholder'=>'replaced'],E_USER_WARNING,'Placeholders must begin with one of the following "@", ":" or "%", invalid placeholder (~placeholder) with string: "Non alpha, non-allowed starting character: ~placeholder"'],