Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Turn on output buffering
<?php ob_start(?callable $callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS): bool
<?php     protected function phpinfo()

    {

        ob_start();

        phpinfo(-1);

        $phpInfoStr = ob_get_clean();
<?php     protected function parsePhp($text)

    {

        ob_start();



        try {

            eval('?>'.$text.'<?php ');