ob_get_clean

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Get the contents of the active output buffer and turn it off
<?php ob_get_clean(): string|false
<?php         ob_start();

        phpinfo(INFO_MODULES);

        $info = ob_get_clean();



        if (preg_match('/OpenSSL Library Version => OpenSSL ([\d\.]+)/', $info, $match)) {

            return version_compare($match[1], '1.1.1', '>=');