From 087590b889fc2746c1392fe0b36984ed3ec1e3b0 Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Wed, 29 May 2024 20:38:27 +0200 Subject: Fix misc typos --- src/sp_session.c | 2 +- src/sp_var_parser.c | 2 +- src/tests/broken_configuration/broken_conf_line_no_closing.phpt | 2 +- src/tests/unserialize/unserialize_wrong_call.phpt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/sp_session.c b/src/sp_session.c index c97101c..228e581 100644 --- a/src/sp_session.c +++ b/src/sp_session.c @@ -108,7 +108,7 @@ static void sp_hook_session_module(void) { static PHP_INI_MH(sp_OnUpdateSaveHandler) { #if PHP_VERSION_ID < 70100 - /* PHP7.0 doesn't handle well recusively set session handlers */ + /* PHP7.0 doesn't handle well recursively set session handlers */ if (stage == PHP_INI_STAGE_RUNTIME && SESSION_G(session_status) == php_session_none && s_original_mod && zend_string_equals_literal(new_value, "user") == 0 && diff --git a/src/sp_var_parser.c b/src/sp_var_parser.c index c7562f3..e674505 100644 --- a/src/sp_var_parser.c +++ b/src/sp_var_parser.c @@ -59,7 +59,7 @@ static int create_var(sp_tree *tree, const char *restrict value, var_node->next = NULL; var_node->idx = NULL; var_node->type = _type; - /* We consider `$` as part of the variable name, to tell them appart from + /* We consider `$` as part of the variable name, to tell them apart from * php's constant */ if (value && value[0] == VARIABLE_TOKEN && _type == CONSTANT) { diff --git a/src/tests/broken_configuration/broken_conf_line_no_closing.phpt b/src/tests/broken_configuration/broken_conf_line_no_closing.phpt index 8b06dc5..c0fbc03 100644 --- a/src/tests/broken_configuration/broken_conf_line_no_closing.phpt +++ b/src/tests/broken_configuration/broken_conf_line_no_closing.phpt @@ -1,5 +1,5 @@ --TEST-- -Configuration line without closing parenthese +Configuration line without closing parentheses --SKIPIF-- --INI-- diff --git a/src/tests/unserialize/unserialize_wrong_call.phpt b/src/tests/unserialize/unserialize_wrong_call.phpt index afa42f6..70d91a5 100644 --- a/src/tests/unserialize/unserialize_wrong_call.phpt +++ b/src/tests/unserialize/unserialize_wrong_call.phpt @@ -1,5 +1,5 @@ --TEST-- -Unserialize ok, but called with the wrong numeber of aguments +Unserialize ok, but called with the wrong number of arguments --SKIPIF-- = 80000) print "skip"; ?> -- cgit v1.3