3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $regex = '//(?<type_old>sell|buy|rent_available|rent_required|obmen)(?:/?(?<rss>rss))?/?/'; $matches = []; var_dump(preg_match($regex, 'buyrss', &$matches), $matches['rss']);
Output for 5.4.0 - 5.4.29
Fatal error: Call-time pass-by-reference has been removed in /in/TZ0Ia on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[' in /in/TZ0Ia on line 4
Process exited with code 255.