Revert "Fix var_export() not working for stdClass in PHP < 7.3"

This reverts commit 3f7f802585.
This commit is contained in:
Kijin Sung 2018-12-13 18:59:27 +09:00
parent 7e48c4989e
commit 7b9fe8f7f2
8 changed files with 43 additions and 40 deletions

View file

@ -274,7 +274,7 @@ class Debug
if (config('debug.write_error_log') === 'all' && self::isEnabledForCurrentUser())
{
$log_entry = str_replace("\0", '', sprintf('Rhymix Debug: %s in %s on line %d',
var_export_clean($message), $entry->file, $entry->line));
var_export($message, true), $entry->file, $entry->line));
error_log($log_entry);
}
}