3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $ez = array( 'ez5' => 'ez', 'ez4' => 'ez', 'ez3' => 'ez', 'ez2' => 'ez', 'ez1' => 'ez', ); function lmao( $key, $val ) { return "$key$val"; } echo array_map( 'lmao', array_keys( $ez ), $ez );
Output for 5.6.11
Notice: Array to string conversion in /in/8fhs4 on line 15 Array