3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match("/[\x{7fffffff}-\x{80000000}]+/u", $str, $match);
Output for 5.4.41 - 5.4.45, 5.5.10 - 7.2.6
Notice: Undefined variable: str in /in/gjnmo on line 3 Warning: preg_match(): Compilation failed: character value in \x{} or \o{} is too large at offset 12 in /in/gjnmo on line 3
Output for 5.3.19 - 5.3.29, 5.4.9 - 5.4.40, 5.5.0 - 5.5.9
Notice: Undefined variable: str in /in/gjnmo on line 3 Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 12 in /in/gjnmo on line 3
Output for 5.0.4 - 5.3.18, 5.4.0 - 5.4.8
Notice: Undefined variable: str in /in/gjnmo on line 3 Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 25 in /in/gjnmo on line 3
Output for 4.3.11 - 5.0.3
Notice: Undefined variable: str in /in/gjnmo on line 3 Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 25 in /in/gjnmo on line 3
Output for 4.3.0 - 4.3.10
Notice: Undefined variable: str in /in/gjnmo on line 3 Warning: Compilation failed: character value in \x{...} sequence is too large at offset 25 in /in/gjnmo on line 3