generate_text_for_display($text, $uid, $bitfield, $flags);

There is no 5th argument