3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(token_get_all(<<<PHP function extractURL($url) { if (preg_match('#http://www.google.com/?$#i', $url, $match)) { return $match[1]; } return null; } PHP ));

preferences:
36.53 ms | 402 KiB | 5 Q