3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match("/\xC4/u", '');
Output for 4.3.11 - 5.3.5, 5.3.19 - 5.3.29, 5.4.9 - 5.6.28, 7.0.0 - 7.1.0
Warning: preg_match(): Compilation failed: invalid UTF-8 string at offset 0 in /in/DpEnW on line 3
Output for hhvm-3.12.0
Warning: Compilation failed: invalid UTF-8 string at offset 0 in /in/DpEnW on line -1
Output for 4.3.5 - 4.3.10, hhvm-3.10.0
Warning: Compilation failed: invalid UTF-8 string at offset 0 in /in/DpEnW on line 3
Output for 5.3.6 - 5.3.18, 5.4.0 - 5.4.8
Warning: preg_match(): Compilation failed: invalid UTF-8 string at offset 1 in /in/DpEnW on line 3
Output for 4.3.0 - 4.3.4