3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $output = "Clean :this; [c<op=y of i>nv\al?id@ non AS]CII äóchar^acters."; $output = preg_replace('/[\x00-\x1F]|[\x21-\x2C]|[\x3A-\x40]|[\x5B-\x5E]|[\x7B-\x7D]|[\x80-\xBF]|[\x2B0-\x36F]|[\x2000-\x2BFF]|[\x2E00-\x2E7F]/','', $output); echo($output);
Output for 4.3.11 - 7.1.0
Warning: preg_replace(): Compilation failed: range out of order in character class at offset 97 in /in/UuHJS on line 3
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: range out of order in character class at offset 97 in /in/UuHJS on line 3