* @license GPLv2 http://files.syscp.org/misc/COPYING.txt * @package Functions * @version $Id: function.stripslashes_complete.php 2724 2009-06-07 14:18:02Z flo $ */ /** * Calls stripslashes in a loop until the result doesn't differ from original anymore * * @param string The string in which the slashes should be eliminated. * @return string The cleaned string * @author Florian Lippert */ function stripslashes_complete($string) { while($string != stripslashes($string)) { $string = stripslashes($string); } return $string; }