We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18b97c9 + 7a5c7e0 commit 5d2e287Copy full SHA for 5d2e287
Zend/zend_extensions.c
@@ -109,6 +109,14 @@ int zend_load_extension(const char *path)
109
/* See http://support.microsoft.com/kb/190351 */
110
#ifdef ZEND_WIN32
111
fflush(stderr);
112
+#endif
113
+ DL_UNLOAD(handle);
114
+ return FAILURE;
115
+ } else if (zend_get_extension(new_extension->name)) {
116
+ fprintf(stderr, "Cannot load %s - extension already loaded\n", new_extension->name);
117
+/* See http://support.microsoft.com/kb/190351 */
118
+#ifdef PHP_WIN32
119
+ fflush(stderr);
120
#endif
121
DL_UNLOAD(handle);
122
return FAILURE;
0 commit comments