<?php phpinfo(int $flags = INFO_ALL): true
<?php protected function phpinfo() { ob_start(); phpinfo(-1); $phpInfoStr = ob_get_clean(); $replacePairs = [