From fa40064f0851b988478b283be4663ade1cf7f7e0 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 26 Oct 2017 13:39:33 +0200 Subject: Remove an arbitrary limitation --- src/sp_disabled_functions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sp_disabled_functions.c') diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index f0b785c..0b1cc91 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c @@ -191,7 +191,7 @@ bool should_disable(zend_execute_data* execute_data) { "%d%s argument of the function '%s', but it takes only %d arguments. " "Matching on _all_ arguments instead.", config_node->pos, - (config_node->pos == 1)?"st":(config_node->pos)?"nd":"th", + GET_SUFFIX(config_node->pos), complete_path_function, nb_param); } else { i = config_node->pos; -- cgit v1.3