Use intermediate variables for creating list of user (incompatible use of empty with method call for parameter, PHP 5.5)
Correct phpDoc