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.3.0 - 5.4.14
Parse error: syntax error, unexpected '=', expecting ')' in /in/Aq4Fh on line 4
Process exited with code 255.