Skip to content

Commit f068954

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fixed bug #80718
2 parents f0b387d + 5199686 commit f068954

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/standard/dl.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,9 @@ static void php_dl_error(const char *filename)
247247

248248
PHPAPI void *php_load_shlib(const char *path, char **errp)
249249
{
250-
php_dl_error(filename);
251-
(*errp) = estrdup("No DL support");
250+
php_dl_error(path);
251+
(*errp) = estrdup("No DL support");
252+
return NULL;
252253
}
253254

254255
PHPAPI int php_load_extension(const char *filename, int type, int start_now)

0 commit comments

Comments
 (0)