[php-src] PR #16126: Avoid dl() in run-tests.php

From: Date: Sun, 29 Sep 2024 21:45:28 +0000
Subject: [php-src] PR #16126: Avoid dl() in run-tests.php
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28896@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/16126 Author: cmb69 Prior to running the tests, the test runner checks for all generally available extensions; it does this by scanning the extension_dir for files matching the typical extension pattern, but verifies that the file is actually a PHP extension by calling dl(). However, dl() has known issues[1]. On Windows CI we always get an ugly "zend_mm_heap corrupted" message, and we even can't dl() ext/mysql when OPcache is enabled[2]. So we better avoid the double-check with dl(), which is unlikely to be necessary anyway. [1] <https://github.com/php/php-src/issues/9196> [2] <https://github.com/php/php-src/issues/8508>

« previous php.git-pulls (#28896) next »