3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php error_reporting(E_ALL); $a = 1.5; sort($a);
Output for 7.0.0 - 7.2.0
Warning: sort() expects parameter 1 to be array, float given in /in/GNpSY on line 5
Output for 4.3.0 - 5.6.28
Warning: sort() expects parameter 1 to be array, double given in /in/GNpSY on line 5