3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php sort($a = array(2, 1));
Output for 7.0.0 - 7.1.0
Notice: Only variables should be passed by reference in /in/2Oc9g on line 3
Output for 5.1.2 - 5.6.21
Strict Standards: Only variables should be passed by reference in /in/2Oc9g on line 3
Output for 4.3.0 - 5.1.1