<?php get_loaded_extensions(bool $zend_extensions = false): array
<?php if ($_GET['extensions'] ?? false) { header('Content-Type: application/json'); echo json_encode(get_loaded_extensions(), JSON_PRETTY_PRINT); return; }
<?php return function (array $event) { if ($event['extensions'] ?? false) { return get_loaded_extensions(); } if ($event['php-config'] ?? false) {