3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = "唧"; preg_match("/[\x{ffffffff}]+/u", $str, $mt); print_r($mt);
Output for 5.4.41 - 5.4.45, 5.5.10 - 5.6.28, 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/drC77 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/drC77 on line 3
Output for 5.2.0 - 5.4.40, 5.5.0 - 5.5.9
Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 12 in /in/drC77 on line 3
Output for 4.3.11 - 5.1.6
Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 12 in /in/drC77 on line 3 Array ( )
Output for 4.3.0 - 4.3.10
Warning: Compilation failed: character value in \x{...} sequence is too large at offset 12 in /in/drC77 on line 3 Array ( )