simplify-php is a simple port of simplify.js by Vladimir Agafonkin (https://github.com/mourner/simplify-js)