3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(preg_split("/\W+/u", "hist\x00\xF3rica"));
Output for 4.3.5 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => hist�rica )
Output for 4.3.3 - 4.3.4
Array ( [0] => hist [1] => a )
Output for 4.3.0 - 4.3.2
Array ( [0] => hist [1] => rica )