3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match_all('/X[a-z]/','XDSS-C-1XaXb XcXd for Xe', $matches); var_dump($matches);
Output for 4.3.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0RC5
array(1) { [0]=> array(5) { [0]=> string(2) "Xa" [1]=> string(2) "Xb" [2]=> string(2) "Xc" [3]=> string(2) "Xd" [4]=> string(2) "Xe" } }