get_magic_quotes_runtime

Gets the current active configuration setting of magic_quotes_runtime

&reftitle.description; `bool` `get_magic_quotes_runtime`

Returns the current active configuration setting of magic_quotes_runtime.

&reftitle.returnvalues;

Returns 0 if magic_quotes_runtime is off, 1 otherwise. Or always returns &false; as of PHP 5.4.0.

&reftitle.changelog;

&Version; | &Description;
5.4.0 | Always returns &false; because the magic quotes feature was removed from PHP.

&reftitle.examples;

### `get_magic_quotes_runtime` example

    <?php
    // Check if magic_quotes_runtime is active
    if(get_magic_quotes_runtime())
    {
        // Deactivate
        set_magic_quotes_runtime(false);
    }
    ?>

&reftitle.seealso;

- `get_magic_quotes_gpc`
- `set_magic_quotes_runtime`