<?php ob_get_clean(): string|false
<?php { ob_start(); phpinfo(-1); $phpInfoStr = ob_get_clean(); $replacePairs = [ '#^.*<body>(.*)</body>.*$#ms' => '$1',
<?php throw new SyntaxError("{$e->getMessage()} on line {$e->getLine()} of:\n\n{$text}"); } return ob_get_clean(); }