\n\n"; echo " "; $result = ''; $result .= ''; $result .= ''; $result .= ''."\n"; $result .= ''."\n"; if (!empty($data['sysinfo']['xdebug'])) { // You are running the benchmark with xdebug enabled. This has a major impact on runtime performance. $result .= ''; } $result .= ''."\n"; $result .= ''."\n"; if ($showServerName == true) { $result .= ''."\n"; $result .= ''."\n"; } $result .= ''; $result .= ''; $result .= ''; $result .= ''."\n"; $result .= ''."\n"; $result .= ''."\n"; $result .= ''."\n"; $result .= ''; $result .= ''; if (isset($data['sysinfo']['mysql_version'])) { $result .= ''; $result .= ''; $result .= ''."\n"; $result .= ''."\n"; $result .= ''."\n"; $result .= ''."\n"; $result .= ''."\n"; $result .= ''."\n"; $result .= ''; } $result .= ''; $result .= '
System Info
Version' . h($data['version']) . '
Time' . h($data['sysinfo']['time']) . '
Xdebug' . h('Warning: Xdebug is enabled!') . '
PHP Version' . h($data['sysinfo']['php_version']) . '
Platform' . h($data['sysinfo']['platform']) . '
Server name' . h($data['sysinfo']['server_name']) . '
Server address' . h($data['sysinfo']['server_addr']) . '
Benchmark
Math' . h($data['benchmark']['math']) . '
String' . h($data['benchmark']['string']) . '
Loops' . h($data['benchmark']['loops']) . '
If Else' . h($data['benchmark']['ifelse']) . '
Calculation total' . h( $data['benchmark']['calculation'] ) . '
MySQL
MySQL Version' . h($data['sysinfo']['mysql_version']) . '
MySQL Connect' . h($data['benchmark']['mysql_connect']) . '
MySQL Select DB' . h($data['benchmark']['mysql_select_db']) . '
MySQL Query Version' . h($data['benchmark']['mysql_query_version']) . '
MySQL Benchmark' . h($data['benchmark']['mysql_query_benchmark']) . '
MySQL Total' . h($data['benchmark']['mysql_total']) . '
Total' . h($data['benchmark']['total']) . '
'; echo $result; echo "\n"; } function h($v) { return htmlentities($v); }