3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all('#\w#u','سیب',$f); var_dump($f);
Output for 5.3.4 - 5.6.28, hhvm-3.10.0 - 3.14.4, 7.0.0 - 7.1.0
array(1) { [0]=> array(3) { [0]=> string(2) "س" [1]=> string(2) "ی" [2]=> string(2) "ب" } }
Output for 4.3.0 - 5.3.3
array(1) { [0]=> array(0) { } }