Skip to content

Commit

Permalink
PHP 8.1 support (alextselegidis#1209)
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed Feb 23, 2022
1 parent 9f29473 commit f0c0223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Output.php
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ public function _display($output = NULL)
if ($this->parse_exec_vars === TRUE)
{
$memory = round(memory_get_usage() / 1024 / 1024, 2).'MB';
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), $output);
$output = str_replace(array('{elapsed_time}', '{memory_usage}'), array($elapsed, $memory), (string)$output);
}

// --------------------------------------------------------------------
Expand Down

0 comments on commit f0c0223

Please sign in to comment.