3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class D{} $a = array(1,2,3); $b = new D(); $c = 'trololol'; var_dump(array_multisort($c));
based on 1pKLE
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_multisort(): Argument #1 is expected to be an array or a sort flag in /in/dbPXh on line 7 bool(false)
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid operand type was used: array_multisort expects array(s) in /in/dbPXh on line 7 bool(false)
Output for 4.3.0 - 4.3.1
Warning: array_multisort() [http://www.php.net/function.array-multisort]: Argument #1 is expected to be an array or a sort flag in /in/dbPXh on line 7 bool(false)