From a48297dfc1144931e18073a87ed83ea337e3d37a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 23 Feb 2019 00:03:14 +0000 Subject: Add php8 to travis and fix php7.4 - Use clang-format on the code - Improve portability wrt. php8 - Fix php7.4 compatibility. See https://dustri.org/b/fixing-snuffleupagus-sloppy-comparison-on-array_keys-for-php74.html for a detailed writeup--- src/sp_config_keywords.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sp_config_keywords.c') diff --git a/src/sp_config_keywords.c b/src/sp_config_keywords.c index 760961a..a9c71d4 100644 --- a/src/sp_config_keywords.c +++ b/src/sp_config_keywords.c @@ -41,8 +41,9 @@ int parse_session(char *line) { return ret; } -#if ( !HAVE_PHP_SESSION || defined(COMPILE_DL_SESSION) ) - sp_log_err("config", +#if (!HAVE_PHP_SESSION || defined(COMPILE_DL_SESSION)) + sp_log_err( + "config", "You're trying to use the session cookie encryption feature " "on line %zu without having session support statically built into PHP. " "This isn't supported, see " -- cgit v1.3