1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00

Merge branch 'PHP-8.1'

This commit is contained in:
Arnaud Le Blanc
2022-05-17 18:47:24 +02:00
+9
View File
@@ -58,10 +58,19 @@ PHPAPI PHP_FUNCTION(dl)
RETURN_FALSE;
}
#if ZEND_RC_DEBUG
bool orig_rc_debug = zend_rc_debug;
zend_rc_debug = false;
#endif
php_dl(filename, MODULE_TEMPORARY, return_value, 0);
if (Z_TYPE_P(return_value) == IS_TRUE) {
EG(full_tables_cleanup) = 1;
}
#if ZEND_RC_DEBUG
zend_rc_debug = orig_rc_debug;
#endif
}
/* }}} */