3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $productcode = explode(":","Ring Size 5:6127A"); echo $productoption = trim($productcode[0]); ?>
Output for 4.3.0 - 7.1.0
Ring Size 5