untaintRemove the taint mark from strings Description
bool untaint(string
&$string, string &...$strings)Clears the taint mark on the given strings. The mark is stored on the string itself, not on the variable, so this clears it for every variable sharing the same string at once. Use it to whitelist values you have validated yourself, for example after a strict allow-list check. Parameters
Return Values
Always returns ExamplesExample #1 untaint example The above example will output something similar to: bool(false) Notes
See Also
|