/** * Called when interpreter is to be reset. * * @static * @param $parser Parser * @return bool */ public static function clearState(&$parser) { Scripting::resetEngine($parser); return true; }