public function __construct() { if (!self::$magic_quotes_gpc) { self::$magic_quotes_gpc = get_magic_quotes_gpc(); } }