summaryrefslogtreecommitdiff
path: root/ext/com_dotnet
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-07-12 12:40:37 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-21 14:47:03 +0200
commit5770b6672228dff9a5f320ce9938e7b196bb03e8 (patch)
tree7cf29f64f85ccf3ed56fd41c1a2a3dffd349acb7 /ext/com_dotnet
parent42226fcf0369c7d410f47f45e0249b3dcf01c78a (diff)
downloadphp-git-5770b6672228dff9a5f320ce9938e7b196bb03e8.tar.gz
Cleanup argument handling of Zend functions and methods
Closes GH-5847
Diffstat (limited to 'ext/com_dotnet')
-rw-r--r--ext/com_dotnet/com_com.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c
index 979c1e9084..802717bb9c 100644
--- a/ext/com_dotnet/com_com.c
+++ b/ext/com_dotnet/com_com.c
@@ -821,8 +821,7 @@ PHP_FUNCTION(com_load_typelib)
}
if (!cs) {
- php_error_docref(NULL, E_WARNING, "Declaration of case-insensitive constants is no longer supported");
- RETURN_FALSE;
+ php_error_docref(NULL, E_WARNING, "com_load_typelib(): Argument #2 ($case_insensitive) is ignored since declaration of case-insensitive constants is no longer supported");
}
RETVAL_FALSE;