commit | 0d028d894284500e1cc0479e71eca9cb8e990b35 | [log] [tgz] |
---|---|---|
author | Olly Betts <olly@survex.com> | Tue May 04 15:26:45 2021 +1200 |
committer | Olly Betts <olly@survex.com> | Tue May 04 15:26:45 2021 +1200 |
tree | 14a96cb7a4007e733b85a3931dc64d3035156480 | |
parent | f2009ef6813108a067b7b046c32554890ce7a615 [diff] |
Rework tests.php Previously this relied on getting all known classes/functions/etc when it was loaded, and then again after the PHP module being tested was loaded. This approach no longer works now we've stopped loading modules using dl(), so use ReflectionExtension instead to get information about a specific extension. This is likely also faster than wading through lists including everything predefined by PHP.