PHPackages                             gongo/merciful-polluter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gongo/merciful-polluter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gongo/merciful-polluter
=======================

Emulate `register\_globals` and `magic\_quotes\_gpc` in PHP 5.4 or higher

0.0.7(2y ago)1715.0k↓20.6%6MITPHPPHP &gt;=5.4CI passing

Since Dec 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/gongo/merciful-polluter)[ Packagist](https://packagist.org/packages/gongo/merciful-polluter)[ Docs](https://github.com/gongo/merciful-polluter)[ RSS](/packages/gongo-merciful-polluter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (11)Used By (0)

MercifulPolluter
================

[](#mercifulpolluter)

To relieve [register\_globals](http://php.net/register_globals) and [magic\_quotes\_gpc](http://php.net/magic_quotes_gpc) refugees.

[![CI status](https://github.com/gongo/merciful-polluter/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/gongo/merciful-polluter/actions/workflows/ci.yml/badge.svg?branch=master)[![Coverage Status](https://camo.githubusercontent.com/5ec6474cd0076b626d1c3b285f7e2e0a913780b67e50bdcba0cadd8c858f654d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f676f6e676f2f6d6572636966756c2d706f6c6c757465722f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/gongo/merciful-polluter?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/0608f37b2d16b43fe4a03d51b663bee3dd708b41f1751b1383eb830f1a39c4a7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f6e676f2f6d6572636966756c2d706f6c6c757465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/gongo/merciful-polluter/?branch=master)

Description
-----------

[](#description)

In PHP 5.4, violent directives (`register_globals` and `magic_quotes_gpc`) has been removed. But there are systems that may still depend on them.

This library reproduce these features in PHP 5.4 and later. **Salvation**

Usage
-----

[](#usage)

```
