The function keyword is not a function!

function ( i, $field )