remove preg replace with e flag for php 7

This commit is contained in:
Philip Häusler 2016-03-22 14:41:32 +01:00
parent c35cf85db5
commit d0a07a74cc
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function debug_string_backtrace() {
$trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1); $trace = preg_replace('/^#0\s+' . __FUNCTION__ . "[^\n]*\n/", '', $trace, 1);
// Renumber backtrace items. // Renumber backtrace items.
$trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace); // $trace = preg_replace('/^#(\d+)/me', '\'#\' . ($1 - 1)', $trace);
return $trace; return $trace;
} }