Skip to content

Commit cf8ef08

Browse files
committed
Fix typos in code
1 parent 0eabd52 commit cf8ef08

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

ext/mysqlnd/mysqlnd_auth.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ mysqlnd_caching_sha2_handle_server_response(struct st_mysqlnd_authentication_plu
10491049

10501050
switch (result_packet.response_code) {
10511051
case 3:
1052-
DBG_INF("fast path suceeded");
1052+
DBG_INF("fast path succeeded");
10531053
DBG_VOID_RETURN;
10541054
case 4:
10551055
if (conn->vio->data->ssl || conn->unix_socket.s) {

ext/opcache/Optimizer/compact_literals.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ void zend_optimizer_compact_literals(zend_op_array *op_array, zend_optimizer_ctx
333333
memset(map, 0, op_array->last_literal * sizeof(int));
334334
for (i = 0; i < op_array->last_literal; i++) {
335335
if (!info[i].flags) {
336-
/* unsed literal */
336+
/* unset literal */
337337
zval_ptr_dtor_nogc(&op_array->literals[i]);
338338
continue;
339339
}

ext/opcache/zend_accelerator_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ static ZEND_INI_MH(OnUpdateFileCache)
262262
#else
263263
_access(ZSTR_VAL(new_value), 06) != 0) {
264264
#endif
265-
zend_accel_error(ACCEL_LOG_WARNING, "opcache.file_cache must be a full path of accessable directory.\n");
265+
zend_accel_error(ACCEL_LOG_WARNING, "opcache.file_cache must be a full path of accessible directory.\n");
266266
new_value = NULL;
267267
}
268268
}

ext/pdo_pgsql/pgsql_driver.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ static PHP_METHOD(PDO, pgsqlGetNotify)
10641064
RETURN_FALSE;
10651065
#if ZEND_ENABLE_ZVAL_LONG64
10661066
} else if (ms_timeout > INT_MAX) {
1067-
php_error_docref(NULL, E_WARNING, "timeout was shrinked to %d", INT_MAX);
1067+
php_error_docref(NULL, E_WARNING, "timeout was shrunk to %d", INT_MAX);
10681068
ms_timeout = INT_MAX;
10691069
#endif
10701070
}

server-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ class testHarness {
413413
'm' => array('TEST_BASE_PATH' ,'path' ,NULL ,'copy tests to this path before testing'),
414414
'n' => array('NO_PHPTEST_SUMMARY' ,'' ,0 ,'do not print test summary'),
415415
'p' => array('TEST_PHP_EXECUTABLE' ,'path' ,NULL ,'php executable to be tested'),
416-
'q' => array('NO_INTERACTION' ,'' ,0 ,'no console interaction (ie dont contact QA)'),
416+
'q' => array('NO_INTERACTION' ,'' ,0 ,'no console interaction (ie don\'t contact QA)'),
417417
'r' => array('REPORT_EXIT_STATUS' ,'' ,0 ,'exit with status at end of execution'),
418418
's' => array('TEST_PHP_SRCDIR' ,'path' ,NULL ,'path to php source code'),
419419
't' => array('TEST_PHP_DETAILED' ,'number' ,0 ,'level of detail output to dump'),

win32/build/template.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* This is a template RC file.
22
* Do not edit with MSVC */
33
#ifdef APSTUDIO_INVOKED
4-
# error dont edit with MSVC
4+
# error Do not edit with MSVC
55
#endif
66

77
#include "winresrc.h"

0 commit comments

Comments
 (0)