3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function khod( $adeek = '', $salam = 'khod' ) { $arg = is_array( $adeek ) ? $adeek : (array) $adeek; //echo $arg; print_r( $arg ); } khod( '' );
based on GnfZF
Output for 4.3.0 - 7.2.6
Array ( [0] => )