]> granicus.if.org Git - php/commitdiff
Fix typos in code
authorPeter Kokot <peterkokot@gmail.com>
Wed, 25 Jul 2018 22:03:10 +0000 (00:03 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Fri, 27 Jul 2018 14:27:41 +0000 (16:27 +0200)
ext/mysqlnd/mysqlnd_auth.c
ext/opcache/Optimizer/compact_literals.c
ext/opcache/zend_accelerator_module.c
ext/pdo_pgsql/pgsql_driver.c
server-tests.php
win32/build/template.rc

index b52e4b87625a462bc316d0f17974ad9246a0f585..3111980626c25176a25482ac13578134379b1998 100644 (file)
@@ -1049,7 +1049,7 @@ mysqlnd_caching_sha2_handle_server_response(struct st_mysqlnd_authentication_plu
 
        switch (result_packet.response_code) {
                case 3:
-                       DBG_INF("fast path suceeded");
+                       DBG_INF("fast path succeeded");
                        DBG_VOID_RETURN;
                case 4:
                        if (conn->vio->data->ssl || conn->unix_socket.s) {
index b70f5c2e28ad0c910fe5bcce0d3c867dd582c12d..e10b9feab0127c6c960c9a3a3f16114a20ae54ac 100644 (file)
@@ -333,7 +333,7 @@ void zend_optimizer_compact_literals(zend_op_array *op_array, zend_optimizer_ctx
                memset(map, 0, op_array->last_literal * sizeof(int));
                for (i = 0; i < op_array->last_literal; i++) {
                        if (!info[i].flags) {
-                               /* unsed literal */
+                               /* unset literal */
                                zval_ptr_dtor_nogc(&op_array->literals[i]);
                                continue;
                        }
index 53afc2ce78392015d9cbe4c55617a19f66775587..e2c73c61ed7736c6799a0ec8b087fd70fbf3beba 100644 (file)
@@ -262,7 +262,7 @@ static ZEND_INI_MH(OnUpdateFileCache)
 #else
                                _access(ZSTR_VAL(new_value), 06) != 0) {
 #endif
-                               zend_accel_error(ACCEL_LOG_WARNING, "opcache.file_cache must be a full path of accessable directory.\n");
+                               zend_accel_error(ACCEL_LOG_WARNING, "opcache.file_cache must be a full path of accessible directory.\n");
                                new_value = NULL;
                        }
                }
index 863e37d89afbdffbdd2384af027953d2fad6e007..64be3cd9b8c99caddfcfd33c6ea90e6fd861bf9c 100644 (file)
@@ -1064,7 +1064,7 @@ static PHP_METHOD(PDO, pgsqlGetNotify)
                RETURN_FALSE;
 #if ZEND_ENABLE_ZVAL_LONG64
        } else if (ms_timeout > INT_MAX) {
-               php_error_docref(NULL, E_WARNING, "timeout was shrinked to %d", INT_MAX);
+               php_error_docref(NULL, E_WARNING, "timeout was shrunk to %d", INT_MAX);
                ms_timeout = INT_MAX;
 #endif
        }
index 4f51c88a7aae23887182fcdc924967974d9e4d2b..5f38e2f22e4ec5ab0b9d6b87d95c55010309dda4 100755 (executable)
@@ -413,7 +413,7 @@ class testHarness {
                'm' => array('TEST_BASE_PATH'      ,'path'       ,NULL    ,'copy tests to this path before testing'),
                'n' => array('NO_PHPTEST_SUMMARY'  ,''           ,0       ,'do not print test summary'),
                'p' => array('TEST_PHP_EXECUTABLE' ,'path'       ,NULL    ,'php executable to be tested'),
-               'q' => array('NO_INTERACTION'      ,''           ,0       ,'no console interaction (ie dont contact QA)'),
+               'q' => array('NO_INTERACTION'      ,''           ,0       ,'no console interaction (ie don\'t contact QA)'),
                'r' => array('REPORT_EXIT_STATUS'  ,''           ,0       ,'exit with status at end of execution'),
                's' => array('TEST_PHP_SRCDIR'     ,'path'       ,NULL    ,'path to php source code'),
                't' => array('TEST_PHP_DETAILED'   ,'number'     ,0       ,'level of detail output to dump'),
index ed2b83332a140dd4820e854bed26de9330aaea43..f26c98009d819f69ac7ab9a90cd3a401f8a4d033 100644 (file)
@@ -1,7 +1,7 @@
 /* This is a template RC file.
  * Do not edit with MSVC */
 #ifdef APSTUDIO_INVOKED
-# error dont edit with MSVC
+# error Do not edit with MSVC
 #endif
 
 #include "winresrc.h"