Having been around the "public" PHP newsgoups for years (comp.lang.php,
alt.php etc), I notice that many of the problems people have with whitespace
(either before header() calls, or while outputting image data etc.) seem to
come from included files having whitespace at the beginning or end of the
file. As such, I wonder if it wouldn't be possible to change include(),
require(), include_once(), require_once() to not pass through whitespace at
the beginning or end of the file, unless told to by a new (and optional)
second parameter.

It seems that this would have a low probability of breaking anything, and
would solve many users' problems. What do people think? Am I crazy for
requesting such a feature, or is this something that would be worth-while?

// Ian Fette
// Proponent, comp.lang.php

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

Reply via email to