mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
- Added conversion to string.
This commit is contained in:
parent
57b3bba46e
commit
0668fd3328
@ -55,9 +55,11 @@ PHP_FUNCTION(dl)
|
||||
{
|
||||
zval *filename;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &filename) == FAILURE) {
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z/", &filename) == FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
convert_to_string(filename);
|
||||
|
||||
if (!PG(enable_dl)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING, "Dynamically loaded extensions aren't enabled");
|
||||
|
Loading…
Reference in New Issue
Block a user