3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match_all('#\w#u','سیب',$f); var_dump($f);
Output for 5.3.4 - 7.1.10
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) { } }