3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $haystack = 'DynamicEloquaContactFromContext'; if (preg_match('/Dynamic([a-zA-Z0-9]*)FromContext/', $haystack, $matches)) { print_r($matches); }
based on asR9D
Output for 5.3.21 - 7.2.0
Array ( [0] => DynamicEloquaContactFromContext [1] => EloquaContact )