]> granicus.if.org Git - php/commitdiff
MFB: fix typo
authorAntony Dovgal <tony2001@php.net>
Sun, 18 Dec 2005 21:17:42 +0000 (21:17 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 18 Dec 2005 21:17:42 +0000 (21:17 +0000)
ext/dom/node.c
ext/reflection/php_reflection.c
ext/xmlreader/php_xmlreader.c
ext/xmlrpc/libxmlrpc/xml_to_soap.c

index 2ff6ebcee650afb32fb3bdfac1c580288b3b32ad..9be281191c4186186e33dc7f70a5edcfe00f7d37 100644 (file)
@@ -1113,7 +1113,7 @@ PHP_FUNCTION(dom_node_replace_child)
                RETURN_FALSE;
        }
 
-       /* check for the old child and wether the new child is already a child */
+       /* check for the old child and whether the new child is already a child */
        while (children) {
                if (children == oldchild) {
                        foundoldchild = 1;
index bd7417c83595e98e78b3c96626902e39495e07c0..d8f8bc6b60d4b42f13bf91b14491c308e00bf8b6 100644 (file)
@@ -2790,7 +2790,7 @@ ZEND_METHOD(reflection_class, getConstructor)
 /* }}} */
 
 /* {{{ proto public bool ReflectionClass::hasMethod(string name)
-   Returns wether a method exists or not */
+   Returns whether a method exists or not */
 ZEND_METHOD(reflection_class, hasMethod)
 {
        reflection_object *intern;
@@ -2893,7 +2893,7 @@ ZEND_METHOD(reflection_class, getMethods)
 /* }}} */
 
 /* {{{ proto public bool ReflectionClass::hasProperty(string name)
-   Returns wether a property exists or not */
+   Returns whether a property exists or not */
 ZEND_METHOD(reflection_class, hasProperty)
 {
        reflection_object *intern;
@@ -3028,7 +3028,7 @@ ZEND_METHOD(reflection_class, getProperties)
 /* }}} */
 
 /* {{{ proto public bool ReflectionClass::hasConstant(string name)
-   Returns wether a constant exists or not */
+   Returns whether a constant exists or not */
 ZEND_METHOD(reflection_class, hasConstant)
 {
        reflection_object *intern;
index ad45902c9c9cca03887dcb0ac5349106720140ce..ccf3db26906a6346ce8be902bc7b2a3b60a8080b 100644 (file)
@@ -578,7 +578,7 @@ PHP_METHOD(xmlreader, getAttributeNs)
 /* }}} */
 
 /* {{{ proto boolean XMLReader::getParserProperty(int property)
-Indicates wether given property (one of the parser option constants) is set or not on parser */
+Indicates whether given property (one of the parser option constants) is set or not on parser */
 PHP_METHOD(xmlreader, getParserProperty)
 {
        zval *id;
index 8390f06e8e2f33ad8234f600fb80647d5aa6982b..a30b3c11f73442ff9f9e0ad067610482151d26c8 100644 (file)
@@ -165,7 +165,7 @@ static const char* get_array_soap_type(XMLRPC_VALUE node) {
        return soapType;
 }
 
-/* determines wether a node is a fault or not, and of which type:
+/* determines whether a node is a fault or not, and of which type:
  * 0 = not a fault,
  * 1 = xmlrpc style fault
  * 2 = soap style fault.