summaryrefslogtreecommitdiff
path: root/ext/standard/dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/dl.c')
-rw-r--r--ext/standard/dl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c
index d26556ebb3..b5f87dce39 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -81,6 +81,7 @@ PHP_FUNCTION(dl)
} else if (PG(safe_mode)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Dynamically loaded extensions aren't allowed when running in Safe Mode");
} else {
+ zend_error(E_STRICT, "dl() is deprecated - use extension= in your php.ini");
php_dl(*file, MODULE_TEMPORARY, return_value TSRMLS_CC);
EG(full_tables_cleanup) = 1;
}