PHP snippets organization + ucfirst function