diff options
author | Matt Wilmas <mattwil@php.net> | 2009-06-06 02:40:49 +0000 |
---|---|---|
committer | Matt Wilmas <mattwil@php.net> | 2009-06-06 02:40:49 +0000 |
commit | 1fa3b21c15a291cf442138513849930d23e1a102 (patch) | |
tree | e31cc8bbdf698c1f6dca5a69b0a26437d08a79b1 /ext/dom | |
parent | cb7a21a42b4f91a42617dd22562d819f9b2c2be5 (diff) | |
download | php-git-1fa3b21c15a291cf442138513849930d23e1a102.tar.gz |
MFH: Fixed error message grammar:
- "cannot" instead of "can not" (meaning "also can")
- "than" instead of "then" (Hint: "then" should hardly be needed;
you're not telling the order in which to do something)
... plus removed a couple ending. dots
Diffstat (limited to 'ext/dom')
-rw-r--r-- | ext/dom/xpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c index 167a744dc7..b8e3388eaa 100644 --- a/ext/dom/xpath.c +++ b/ext/dom/xpath.c @@ -232,7 +232,7 @@ static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, } else if (retval->type == IS_BOOL) { valuePush(ctxt, xmlXPathNewBoolean(retval->value.lval)); } else if (retval->type == IS_OBJECT) { - php_error_docref(NULL TSRMLS_CC, E_WARNING, "A PHP Object can not be converted to a XPath-string"); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "A PHP Object cannot be converted to a XPath-string"); valuePush(ctxt, xmlXPathNewString((xmlChar *)"")); } else { convert_to_string_ex(&retval); |