3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'Premium Deck Series: Fire and Lightning'; if(($splAt = strpos($str,':'))!==false){ $s['set'] = trim(substr($str,$splAt+1)); } echo $s['set'];
Output for 4.3.0 - 7.1.0
Fire and Lightning