[ticket/12286] Add note that goto should not be used

PHPBB3-12286