3v4l.org

run code in 300+ PHP versions simultaneously
<?php $css = <<<CSS body, html{ font-family:'Poppins', sans-serif; background-color:white; overflow-x:hidden; } body{ overflow-y:hidden; } header{ position:relative; z-index:2; } CSS; echo preg_replace('~(?:\s*/\*.*?\*/\s*)|\{\K(?:\'[^\']*\'|"[^"]*"|/\*.*?\*/|(?:(?R)|[^}]))*~', '', $css); echo "\n\n\t****************************************************\n\n"; $css = <<<CSS /* {Leading monkeywrench} */ body, html{ overflow-x:hidden; } body{overflow-y:hidden; } header{ position:relative; z-index:2; } body, html{ font-family:'Poppins', sans-serif; /* This will {monkeywrench} */ background-color:white; overflow-x:hidden; } .some[selectors-may='contain-a-{'] { } @media only screen and (min-width: 200px) { .test { prop: val; } .test2 { prop: val; } } CSS; echo preg_replace('~(?:\s*/\*.*?\*/\s*)|\{\K(?:\'[^\']*\'|"[^"]*"|/\*.*?\*/|(?:(?R)|[^}]))*~', '', $css);
Output for rfc.property-hooks, git.master, git.master_jit
body, html{} body{} header{} **************************************************** body, html{} body{} header{} body, html{} .some[selectors-may='contain-a-{'] {} @media only screen and (min-width: 200px) { .test {} .test2 {} }

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
44.13 ms | 2078 KiB | 4 Q