3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x='lknodsijfoasj KJHGK.JG O O T *&$%&$ (*POL{:}{:>?><:}:*(^*&$*&IKLKJLWSM{W+|{#+-*-++'; var_dump(preg_replace('+G.+G+i','',$x));
based on ks2Hf
Output for 4.3.11 - 7.1.0
Warning: preg_replace(): Unknown modifier 'G' in /in/LH9Wa on line 3 NULL
Output for 4.3.0 - 4.3.10
Warning: Unknown modifier 'G' in /in/LH9Wa on line 3 NULL