summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Lehnardt <jan@php.net>2004-02-14 19:02:23 +0000
committerJan Lehnardt <jan@php.net>2004-02-14 19:02:23 +0000
commit4d0ad7fbb7ff4ab41cd23b2568f62035facde40e (patch)
treeb0a7ec2c3fab4a06edd41abe0028c81481cfb676
parent905f4e98a2eb4a794a6b09ab4a43398f9b054ed1 (diff)
downloadphp-git-4d0ad7fbb7ff4ab41cd23b2568f62035facde40e.tar.gz
- improve error message
-rw-r--r--ext/standard/dl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/dl.c b/ext/standard/dl.c
index b5f87dce39..6d810913ee 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -81,7 +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");
+ zend_error(E_STRICT, "dl() is deprecated - use extension=%s in your php.ini", Z_STRVAL_PP(file));
php_dl(*file, MODULE_TEMPORARY, return_value TSRMLS_CC);
EG(full_tables_cleanup) = 1;
}