3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! $str = "sam.ple.jpg"; echo strpos($str, ".");

preferences:
38.77 ms | 402 KiB | 5 Q