3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test='12345'; echo strpos($test,'5');

preferences:
56.87 ms | 402 KiB | 5 Q