3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array( 'what' => .7 ); print_r( array_flip($data) );
Output for 4.3.2 - 7.2.0
Warning: array_flip(): Can only flip STRING and INTEGER values! in /in/5LM4G on line 5 Array ( )
Output for 4.3.0 - 4.3.1
Warning: array_flip() [http://www.php.net/function.array-flip]: Can only flip STRING and INTEGER values! in /in/5LM4G on line 5 Array ( )