3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $my_string = "some:really_long:thing:with:stuff"; var_dump(strpos('some:', $my_string)); var_dump(preg_match('/^some:/', $my_string));
Output for 7.3.0rc3
bool(false) int(1)