3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match('/\w+/u', 'БАБ', $m); print_r($m);
based on PWiaW
Output for 5.3.4 - 5.6.21, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [0] => БАБ )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 5.3.3
Array ( )