closing php blocks

I recognized that in all your php classes you never close the <?pbp  ?> block. Is this intentionally? I believe that for the parser it might be the same if he receives the EOF or the block end but is this behaviour of the parser also guaranteed for future php versions?

Hmmm, perhaps only a java programmer can ask such a question  8)


Yes, it is intentionally. This is actually a recommended practice, because it often happens that some additional blanks or lines are appended after ?>, which will be displayed and cause some issues if session is started.

Thanks, always good to learn something new :)

I didn't think about trailing blanks which might corrupt the layout.

Good that you pointed me to that, otherwise I might have spent hours to search for such an error.