]> granicus.if.org Git - php/commitdiff
Fix typo in comments
authorFabien Villepinte <fabien.villepinte@gmail.com>
Wed, 25 Oct 2017 08:42:13 +0000 (10:42 +0200)
committerJoe Watkins <krakjoe@php.net>
Wed, 25 Oct 2017 19:59:13 +0000 (20:59 +0100)
ext/intl/uchar/uchar.c

index 1e0041f03c62e16164eeca17163a3610c5daccdf..1add74b2b5c46be9aec35ab545f412a96f8110e3 100644 (file)
@@ -141,7 +141,7 @@ IC_METHOD(getIntPropertyMinValue) {
 }
 /* }}} */
 
-/* {{{ proto int IntlChar::getIntPropertyMxValue(int $property) */
+/* {{{ proto int IntlChar::getIntPropertyMaxValue(int $property) */
 ZEND_BEGIN_ARG_INFO_EX(getIntPropertyMaxValue_arginfo, 0, ZEND_RETURN_VALUE, 1)
        ZEND_ARG_INFO(0, property)
 ZEND_END_ARG_INFO();
@@ -188,7 +188,7 @@ static UBool enumCharType_callback(enumCharType_data *context,
        zval args[3];
 
        ZVAL_NULL(&retval);
-       /* Note that $start is INclusive, whiel $limit is EXclusive
+       /* Note that $start is INclusive, while $limit is EXclusive
         * Therefore (0, 32, 15) means CPs 0..31 are of type 15
         */
        ZVAL_LONG(&args[0], start);