3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ans = strpos ( "foo" , "bar" ) ; print "ans: " . $ans . "<br />\n" ; if ( $ans ){ }
Output for 4.3.0 - 7.1.0
ans: <br />