diff options
author | Christian Schneider | 2023-05-10 16:45:08 +0200 |
---|---|---|
committer | Christian Schneider | 2023-05-10 16:45:08 +0200 |
commit | 2ce012df8e3ecf24ed243dd71c0a943a51a68467 (patch) | |
tree | 5309f0dd7be99a6cc961bcb263e1a49d8f017480 | |
parent | 2c4ce09e20cf49bfb994a8aaf550429de9aaba15 (diff) | |
download | itools-2ce012df8e3ecf24ed243dd71c0a943a51a68467.tar.gz itools-2ce012df8e3ecf24ed243dd71c0a943a51a68467.tar.bz2 itools-2ce012df8e3ecf24ed243dd71c0a943a51a68467.zip |
Use simpler str_pad for padding
-rw-r--r-- | it_debug.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_debug.class b/it_debug.class index fa4cbd9..6d66d21 100644 --- a/it_debug.class +++ b/it_debug.class @@ -255,7 +255,7 @@ static function backtrace($p = array()) } foreach ($locations as $idx => $location) - $result .= substr($location . " ", 0, $maxlen) . " " . $funcs[$idx] . "\n"; + $result .= str_pad($location, $maxlen + 2) . $funcs[$idx] . "\n"; } else { |