Alexey Zakhlestin wrote:
> Enforcing people to use some specific way of coding to use library is
> incorrect, anyway. But, you can correctly handle the situation (i.e.
> provide a meaningful error to the user)  by making a simple check:
> http://docs.php.net/headers-sent

With a little bit of magic (get_included_files) you can even tell the
user where the leading/trailing whitespace is!

-- 
 Edward Z. Yang                        GnuPG: 0x869C48DA
 HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
 [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to