Skip to content

Fix Zend_Debug::dump() xdebug quirk.#536

Merged
develart-projects merged 1 commit intoShardj:masterfrom
GNfsys:xdebug-dump-quirk-fix
Apr 1, 2026
Merged

Fix Zend_Debug::dump() xdebug quirk.#536
develart-projects merged 1 commit intoShardj:masterfrom
GNfsys:xdebug-dump-quirk-fix

Conversation

@GNfsys
Copy link
Copy Markdown

@GNfsys GNfsys commented Apr 1, 2026

In the special case a user has xdebug enabled, but disabled the developer overrides (xdebug.mode=profile instead of xdebug=develop,profile) the var_dump() function will remain unchanged, and it's output needs to be escaped as well.

I also removed the useless if(defined...) since support for PHP 5 was dropped.

In the special case a user has xdebug enabled, but disabled the developer overrides (xdebug.mode=profile instead of xdebug=develop,profile)
the var_dump() function will remain unchanged, and it's output needs to be escaped as well.

I also removed the useless if(defined...) since support for PHP 5 was dropped.
@develart-projects develart-projects merged commit d02066f into Shardj:master Apr 1, 2026
10 of 13 checks passed
@develart-projects develart-projects added the enhancement New feature or request label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants