summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_com.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/com_dotnet/com_com.c')
-rw-r--r--ext/com_dotnet/com_com.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c
index 936896966f..6619cb4b44 100644
--- a/ext/com_dotnet/com_com.c
+++ b/ext/com_dotnet/com_com.c
@@ -831,6 +831,10 @@ PHP_FUNCTION(com_load_typelib)
return;
}
+ if (!cs) {
+ php_error_docref(NULL, E_DEPRECATED, "Declaration of case-insensitive constants is deprecated");
+ }
+
RETVAL_FALSE;
php_com_initialize();