3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "唧"; preg_match("/[\x{7fffffff}]+/u", $str, $mt); print_r($mt);
Output for 5.4.41 - 5.6.21, 7.0.0 - 7.1.0
Warning: preg_match(): Compilation failed: character value in \x{} or \o{} is too large at offset 12 in /in/GQY8c on line 3
Output for hhvm-3.10.0 - 3.12.0
Warning: Compilation failed: character value in \x{} or \o{} is too large at offset 12 in /in/GQY8c on line 3
Output for 5.3.19 - 5.3.29, 5.4.9 - 5.4.40
Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 12 in /in/GQY8c on line 3
Output for 4.3.3 - 5.3.18, 5.4.0 - 5.4.8
Array ( )
Output for 4.3.0 - 4.3.2
Warning: Compilation failed: characters with values > 255 are not yet supported in classes at offset 12 in /in/GQY8c on line 3 Array ( )