3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_flip(array('foo' => array('bar'))));
Output for 5.3.28 - 5.3.29, 5.4.18 - 7.2.0
Warning: array_flip(): Can only flip STRING and INTEGER values! in /in/LJeFa on line 3 array(0) { }
Output for 4.3.2 - 5.3.27, 5.4.0 - 5.4.17
Warning: array_flip(): Can only flip STRING and INTEGER values! in /in/1qWND on line 3 array(0) { }
Output for 4.3.1
Warning: array_flip() [http://www.php.net/function.array-flip]: Can only flip STRING and INTEGER values! in /in/1qWND on line 3 array(0) { }
Output for 4.3.0
Warning: array_flip() [http://www.php.net/function.array-flip]: Can only flip STRING and INTEGER values! in /in/LJeFa on line 3 array(0) { }