I suppose you can put the php blocks wherever you want.
For me it's just nice to group all my functions in one central place, regardless of where this central place is. So long as it works.
But then again.. I have a reputation for writing
extremely unreadable code, maybe you should wait for the next reply to your post... 😉