Skip to content

Comments

Compact arrays on ConfigCollector#960

Merged
barryvdh merged 1 commit intophp-debugbar:masterfrom
angeljqv:patch-5
Jan 21, 2026
Merged

Compact arrays on ConfigCollector#960
barryvdh merged 1 commit intophp-debugbar:masterfrom
angeljqv:patch-5

Conversation

@angeljqv
Copy link
Contributor

It allows searching more easily when there are many configurations and they are all arrays.

image

Same as

$pos = strpos((string) $messageHtml, 'sf-dump-expanded');
if ($pos !== false) {
$messageHtml = substr_replace($messageHtml, 'sf-dump-compact', $pos, 16);
}

Maybe formatVar needs an arg for this, like bool $compact = false

@barryvdh barryvdh merged commit 06d6f1c into php-debugbar:master Jan 21, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants