3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_match('//u', "\xef\xbf\xbf")); var_dump(preg_match('//u', "\xf4\x8f\xbf\xbf"));
Output for 4.3.0 - 5.3.23, 5.4.0 - 5.4.13, 5.4.41 - 7.1.0
int(1) int(1)
Output for 5.3.24 - 5.3.29, 5.4.14 - 5.4.40
bool(false) bool(false)