mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
- improve error message
This commit is contained in:
parent
905f4e98a2
commit
4d0ad7fbb7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user