3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match('/[\x{c2a4}]/', 'ยค');
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 8 in /in/i6Wrh 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 8 in /in/i6Wrh on line 3
Output for 4.4.3 - 4.4.9, 5.1.3 - 5.4.40, 5.5.0 - 5.5.9
Warning: preg_match(): Compilation failed: character value in \x{...} sequence is too large at offset 8 in /in/i6Wrh on line 3
Output for 4.3.0 - 4.4.2, 5.0.0 - 5.1.2