3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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; ));
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected ';' in /in/WeDoq on line 10
Process exited with code 255.