Fix is_assoc() so it doesn't throw an E_NOTICE
Convert all the function declarations to lower case