3v4l.org

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

preferences:
39.48 ms | 402 KiB | 5 Q