3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 'naam' => '0', 'anaam' => 0, 'vnaam' => 'hellow ); function is_zero($var) { echo ' executeing --_'; return (($var != '0')); } print_r(array_filter($data, 'is_zero'));
Output for 5.4.0 - 5.4.14
Parse error: syntax error, unexpected 'executeing' (T_STRING), expecting ')' in /in/Z1ALU on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.24
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/Z1ALU on line 10
Process exited with code 255.