3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $job = 'set_option'; $class = 'Timely_Gearman_Worker_' . implode( '_', array_map( 'ucfirst', explode( '_', $job ) ) ); var_dump( $class );
Output for 4.3.0 - 7.1.0
string(32) "Timely_Gearman_Worker_Set_Option"