3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'var1:subvar'; var_dump(explode(':',$str)); exit; function strAssign($str,$val){ }
based on rvWYW
Output for 4.3.0 - 7.2.0
array(2) { [0]=> string(4) "var1" [1]=> string(6) "subvar" }