Gets the current configuration setting of magic_quotes_gpc

# get_magic_quotes_gpc

(PHP 4, PHP 5, PHP 7)

get_magic_quotes_gpc — Gets the current configuration setting of magic_quotes_gpc

Warning

This function has been DEPRECATED as of PHP 7.4.0, and REMOVED as of PHP 8.0.0. Relying on this function is highly discouraged.

### Description

get_magic_quotes_gpc(): false

Always returns `false`.

### Parameters

This function has no parameters.

### Return Values

Always returns `false`.

### Changelog

Version | Description
--- | ---
8.0.0 | Removed this function.
7.4.0 | Deprecated this function.

### See Also

- addslashes() - Quote string with slashes
- stripslashes() - Un-quotes a quoted string
- get_magic_quotes_runtime() - Gets the current active configuration setting of magic_quotes_runtime
- ini_get() - Gets the value of a configuration option

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open