3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "my name is Arun Prasath from India"; $pattern = "/P*/"; echo preg_match($pattern, $string);

preferences:
47.46 ms | 402 KiB | 5 Q