summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 185c42df69..6e98e0834a 100644
--- a/ext/standard/dl.c
+++ b/ext/standard/dl.c
@@ -76,6 +76,7 @@ PHP_FUNCTION(dl)
php_error(E_ERROR, "Dynamically loaded extensions aren't allowed when running in SAFE MODE.");
} else {
php_dl(*file, MODULE_TEMPORARY, return_value TSRMLS_CC);
+ EG(full_tables_cleanup) = 1;
}
}