- get_loaded_extensions: documentation ( source)
- array_intersect: documentation ( source)
- print_r: documentation ( source)
- array_values: documentation ( source)
<?php
print_r(array_values(array_intersect(get_loaded_extensions(), ['openssl', 'intl', 'bcmath', 'gmp'])));