Mine
public text v1 · immutable<?php
if ($_POST) $_POST = array_map('mysql_real_escape_string', $_POST);
if ($_GET) $_GET = array_map('mysql_real_escape_string', $_GET);
if ($_COOKIE) $_COOKIE = array_map('mysql_real_escape_string', $_COOKIE);
if ($_POST) $_POST = array_map('htmlspecialchars', $_POST);
if ($_GET) $_GET = array_map('htmlspecialchars', $_GET);
if ($_COOKIE) $_COOKIE = array_map('htmlspecialchars', $_COOKIE);
class Test {
function something {
//
}
function somethingElse {
//
}
}
?>