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,2); ?>

preferences:
43.82 ms | 402 KiB | 5 Q