summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it_debug.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class
index 5ed466a..b36c232 100644
--- a/it_debug.class
+++ b/it_debug.class
@@ -224,7 +224,7 @@ static function dump($args, $p = [])
*/
static function backtrace($p = array())
{
- $frames = $p['trace'] ?: ($p['format'] ? array_slice(debug_backtrace(0), $p['skiplevels']) : null);
+ $frames = $p['trace'] ?? ($p['format'] ? array_slice(debug_backtrace(0), $p['skiplevels']) : null);
if ($p['format'] == "long")
{