3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $wat = array_flip(null);
Output for 5.3.28 - 5.3.29, 5.4.20 - 5.6.28, 7.0.0 - 7.1.0
Warning: array_flip() expects parameter 1 to be array, null given in /in/olT4r on line 2
Output for hhvm-3.10.0 - 3.12.0
Warning: Invalid operand type was used: array_flip expects an array or collection in /in/olT4r on line 2
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19
Warning: array_flip() expects parameter 1 to be array, null given in /in/LNkET on line 2
Output for 4.3.2 - 5.2.17
Warning: array_flip(): The argument should be an array in /in/LNkET on line 2
Output for 4.3.1
Warning: array_flip() [http://www.php.net/function.array-flip]: The argument should be an array in /in/LNkET on line 2
Output for 4.3.0
Warning: array_flip() [http://www.php.net/function.array-flip]: The argument should be an array in /in/olT4r on line 2