Just so you don't write code that will break, when using get_user_name() or any function that retrieves a string, you need to supply the maximum number of characters that the variable (array) can hold. To do this, you use charsmax()
PHP Code:
szName[32]
get_user_name(id, szName, charsmax(szName))
__________________