Move 'use' out of function

Fix Parse error: syntax error, unexpected T_USE