3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $words = "systematic,gear,synthesis,mysterious"; $words=explode(",",$words); $your_array = preg_grep("/s|m|e/", $words); print_r($your_array);
Output for 4.3.0 - 7.3.0rc4
Array ( [0] => systematic [1] => gear [2] => synthesis [3] => mysterious )