3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "**link(http://google.com)*{Google}**"; preg_match("/(?<=\\*\\*link)\\((.*)\\)/", $str, $match1); preg_match('/(?<=\*\*link)\((.*)\)/', $str, $match2); echo "{$match1[1]}\n{$match2[1]}\n";

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
144.78 ms | 2551 KiB | 11 Q