Re: [PATCH] Error message cleanup
| From: | Hannes Magnusson | Date: | Sun, 08 Oct 2006 13:37:17 +0000 |
| Subject: | Re: [PATCH] Error message cleanup | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25991@lists.php.net to get a copy of this message | ||
On 9/25/06, Matt W <php_lists@realplain.com> wrote:
Hi, Don't know if someone wants to check this out and apply it before 5.2's release, or whether you want it at all. ;-) I just noticed how many of the php_error_docref()'s still have a period (".") at the end of the text, resulting in "... error message. in <file> on line <line>" Looks better/consistent without a period, and I think that's how you want it now, isn't it? I don't know if my regex search found all occurrences, but I fixed up the files I found. The only changes were removing a trailing period (or a space in a few places), and a couple typos I noticed in the ones I changed -- "interger", "can not" -> "cannot", I think that's about all. Also updated the necessary test files I found, to reflect the changes. I think (hope) everything's OK, but haven't tested it! There looks to be 209/188 changes in 5.2/6, respectively. BTW, 5.2's ext/soap/tests/bugs/bug31755.phpt must be screwed up (new lines) since the diff is deleting every line first... http://realplain.com/php/error_messages.diff http://realplain.com/php/error_messages_5_2.diffThanks! Patch committed to HEAD. Doubt it'll make it into 5.2.0. -Hannes