Re: Lost a couple of hours on whitespace after a closing "?>" php tag

2010-01-19 Thread BrendonKoz
Wow, I never thought to run it against the core files as a test. Great idea, keymaster! On Jan 14, 11:19 am, keymaster wrote: > Bingo ! > > Thank you. > > Surprisingly, there were quite a few cake files in the core with > trailing white spaces, as well. > > I opened a ticket in lighthouse on this

Re: Lost a couple of hours on whitespace after a closing "?>" php tag

2010-01-14 Thread Miles J
http://www.milesj.me/blog/read/71/PHP-Pro-Tip-Dont-Close-Your-PHP-Documents-With On Jan 14, 8:19 am, keymaster wrote: > Bingo ! > > Thank you. > > Surprisingly, there were quite a few cake files in the core with > trailing white spaces, as well. > > I opened a ticket in lighthouse on this, attach

Re: Lost a couple of hours on whitespace after a closing "?>" php tag

2010-01-14 Thread keymaster
Bingo ! Thank you. Surprisingly, there were quite a few cake files in the core with trailing white spaces, as well. I opened a ticket in lighthouse on this, attached David's shell, and suggested perhaps they may want to include this shell as part of the regular test run: http://cakephp.lighthou

Re: Lost a couple of hours on whitespace after a closing "?>" php tag

2010-01-14 Thread BrendonKoz
With this shell task by David Persson: http://bin.cakephp.org/nick/davidpersson/page:1 :) On Jan 14, 9:21 am, keymaster wrote: > Spent more time on this bug than I should have, but ... > > I had a problem which I tracked down to two non-printable characters > of whitespace, inserted at the begi

Lost a couple of hours on whitespace after a closing "?>" php tag

2010-01-14 Thread keymaster
Spent more time on this bug than I should have, but ... I had a problem which I tracked down to two non-printable characters of whitespace, inserted at the beginning of data sent to the client, as a response to an ajax operation. Now, where would *you* look to find how two unprintable characters