3v4l.org

run code in 300+ PHP versions simultaneously
<?php $find='is'; $string='this is an text,and it is an example.'; echo strpos($string,$find,1); ?>

preferences:
41.47 ms | 402 KiB | 5 Q