summaryrefslogtreecommitdiff
path: root/ext/soap/php_encoding.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2010-09-03 22:24:08 +0000
committerRasmus Lerdorf <rasmus@php.net>2010-09-03 22:24:08 +0000
commit8022e383ff64c847a37207f2b8dfd09e6c9ab111 (patch)
tree3395eded434eace4475e168ac65e0881b1f3c5b2 /ext/soap/php_encoding.c
parent4789901728e295c58afa7a252cb81caa09eeb16f (diff)
downloadphp-git-8022e383ff64c847a37207f2b8dfd09e6c9ab111.tar.gz
This incorrect contraction started to get on my eyes after I saw it for the
87th time while struggling with an annoying SOAP service.
Diffstat (limited to 'ext/soap/php_encoding.c')
-rw-r--r--ext/soap/php_encoding.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/soap/php_encoding.c b/ext/soap/php_encoding.c
index bc2df3cd0c..a91ee12d4f 100644
--- a/ext/soap/php_encoding.c
+++ b/ext/soap/php_encoding.c
@@ -373,7 +373,7 @@ static xmlNodePtr master_to_xml_int(encodePtr encode, zval *data, int style, xml
HashTable *ht = Z_OBJPROP_P(data);
if (zend_hash_find(ht, "enc_type", sizeof("enc_type"), (void **)&ztype) == FAILURE) {
- soap_error0(E_ERROR, "Encoding: SoapVar hasn't 'enc_type' property");
+ soap_error0(E_ERROR, "Encoding: SoapVar has no 'enc_type' property");
}
if (zend_hash_find(ht, "enc_stype", sizeof("enc_stype"), (void **)&zstype) == SUCCESS) {
@@ -1751,7 +1751,7 @@ static int model_to_xml_object(xmlNodePtr node, sdlContentModelPtr model, zval *
return 2;
} else {
if (strict) {
- soap_error1(E_ERROR, "Encoding: object hasn't '%s' property", model->u.element->name);
+ soap_error1(E_ERROR, "Encoding: object has no '%s' property", model->u.element->name);
}
return 0;
}
@@ -1784,7 +1784,7 @@ static int model_to_xml_object(xmlNodePtr node, sdlContentModelPtr model, zval *
return 2;
} else {
if (strict) {
- soap_error0(E_ERROR, "Encoding: object hasn't 'any' property");
+ soap_error0(E_ERROR, "Encoding: object has no 'any' property");
}
return 0;
}
@@ -3632,7 +3632,7 @@ static encodePtr get_array_type(xmlNodePtr node, zval *array, smart_str *type TS
zval **ztype;
if (zend_hash_find(Z_OBJPROP_PP(tmp), "enc_type", sizeof("enc_type"), (void **)&ztype) == FAILURE) {
- soap_error0(E_ERROR, "Encoding: SoapVar hasn't 'enc_type' property");
+ soap_error0(E_ERROR, "Encoding: SoapVar has no 'enc_type' property");
}
cur_type = Z_LVAL_PP(ztype);