mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix typos in code
This commit is contained in:
parent
0eabd5231b
commit
cf8ef08e20
6 changed files with 6 additions and 6 deletions
|
@ -1049,7 +1049,7 @@ mysqlnd_caching_sha2_handle_server_response(struct st_mysqlnd_authentication_plu
|
||||||
|
|
||||||
switch (result_packet.response_code) {
|
switch (result_packet.response_code) {
|
||||||
case 3:
|
case 3:
|
||||||
DBG_INF("fast path suceeded");
|
DBG_INF("fast path succeeded");
|
||||||
DBG_VOID_RETURN;
|
DBG_VOID_RETURN;
|
||||||
case 4:
|
case 4:
|
||||||
if (conn->vio->data->ssl || conn->unix_socket.s) {
|
if (conn->vio->data->ssl || conn->unix_socket.s) {
|
||||||
|
|
|
@ -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));
|
memset(map, 0, op_array->last_literal * sizeof(int));
|
||||||
for (i = 0; i < op_array->last_literal; i++) {
|
for (i = 0; i < op_array->last_literal; i++) {
|
||||||
if (!info[i].flags) {
|
if (!info[i].flags) {
|
||||||
/* unsed literal */
|
/* unset literal */
|
||||||
zval_ptr_dtor_nogc(&op_array->literals[i]);
|
zval_ptr_dtor_nogc(&op_array->literals[i]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
@ -262,7 +262,7 @@ static ZEND_INI_MH(OnUpdateFileCache)
|
||||||
#else
|
#else
|
||||||
_access(ZSTR_VAL(new_value), 06) != 0) {
|
_access(ZSTR_VAL(new_value), 06) != 0) {
|
||||||
#endif
|
#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;
|
new_value = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1064,7 +1064,7 @@ static PHP_METHOD(PDO, pgsqlGetNotify)
|
||||||
RETURN_FALSE;
|
RETURN_FALSE;
|
||||||
#if ZEND_ENABLE_ZVAL_LONG64
|
#if ZEND_ENABLE_ZVAL_LONG64
|
||||||
} else if (ms_timeout > INT_MAX) {
|
} 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;
|
ms_timeout = INT_MAX;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -413,7 +413,7 @@ class testHarness {
|
||||||
'm' => array('TEST_BASE_PATH' ,'path' ,NULL ,'copy tests to this path before testing'),
|
'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'),
|
'n' => array('NO_PHPTEST_SUMMARY' ,'' ,0 ,'do not print test summary'),
|
||||||
'p' => array('TEST_PHP_EXECUTABLE' ,'path' ,NULL ,'php executable to be tested'),
|
'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'),
|
'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'),
|
'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'),
|
't' => array('TEST_PHP_DETAILED' ,'number' ,0 ,'level of detail output to dump'),
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/* This is a template RC file.
|
/* This is a template RC file.
|
||||||
* Do not edit with MSVC */
|
* Do not edit with MSVC */
|
||||||
#ifdef APSTUDIO_INVOKED
|
#ifdef APSTUDIO_INVOKED
|
||||||
# error dont edit with MSVC
|
# error Do not edit with MSVC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "winresrc.h"
|
#include "winresrc.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue