strip slahes from all arguments of a php function
<p>I have these kind of php function</p>

<pre><code>function insertData($username,$name,$password) {
}
</code></pre>

<p>and some others such as: </p>

<pre><code>function updateData($color, $hair,$eye) {
}
</code></pre>

<p>etc..</p>

<p>as these arguments can contain some quotes or double quotes like " or '</p>

<p>Is there a way to sanitize them all like</p>

<p>sanitize(allFunctionargs)</p>

<p>without having to write
sanitize ($color);
sanitize ($hair);
sanitize ($eye);</p>

<p><strong>I am looking for the most generic function to sanitize (strip slashes) ALL arguments of a function</strong></p>

<p>Regards</p>
