Skip to content

Use Debugger to output constant values (on 2.2) - #639

Merged
markstory merged 1 commit into
cakephp:2.2from
paigeruten:2.2-fix-array-constants
Sep 17, 2018
Merged

markstory merged 1 commit into
cakephp:2.2from
paigeruten:2.2-fix-array-constants

Conversation

@paigeruten

Copy link
Copy Markdown

#401 was fixed on the main branch, but I ran into the same issue on 2.2. I basically just reapplied ca07485 on the 2.2 branch to fix it.

As of PHP 5.6 constants can contain non-scalar data.
Debugger::exportVar() handles all sorts of data more gracefully.

Refs cakephp#401
@markstory
markstory merged commit 9805136 into cakephp:2.2 Sep 17, 2018
@saeideng saeideng added this to the 2.2.x milestone Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants