I'm working on some wap applications in PHP and there is a very hard limit of outputsize in wap (1200 bytes) so I'd like to know if there is some php builtin way to count output bytes already sent or if I'd have to roll my own. Browsing the php website did not give me a function that does this.