3v4l.org

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

preferences:
41.84 ms | 402 KiB | 5 Q