3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php preg_match("/(\w+)?/", "",'assdfasdf'); print_r($matches); echo "\n"; preg_match("/(\w*)/", "",$matches); print_r($matches);
Output for 5.3.0 - 5.4.24
Fatal error: Only variables can be passed by reference in /in/eu9SX on line 2
Process exited with code 255.