3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php preg_match('/\w+/', 'dsad asd sa dsad', $match = array());
based on iaOen
Output for 7.0.0 - 7.2.0
Notice: Only variables should be passed by reference in /in/1oFfB on line 3
Output for 5.3.20 - 5.6.28
Strict Standards: Only variables should be passed by reference in /in/1oFfB on line 3