3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpfunction arrayFunction(array $array_data) { if (!is_array($array_data)) { echo "NOT ARRAY"; } else { echo "IS ARRAY"; }}arrayFunction(7);
based on HqF5i
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected 'arrayFunction' (T_STRING) in /in/pZ6Ee on line 1
Process exited with code 255.