3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $num = strpos("T-MOBILE USA", "T-"); if (strpos("T-MOBILE USA", "T-") != false) {echo "good";} else echo "not good"; echo $num;
based on 7JA1J
Output for 5.6.0 - 7.3.0alpha1
not good0