Merge pull request #8399 from lekoala/patch-12

var_export does not handle circular references
This commit is contained in:
Sam Minnée 2018-09-26 20:58:25 +12:00 committed by GitHub
commit a31a496362
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ class CliDebugView extends DebugView
// Format object
if (is_object($val)) {
return var_export($val, true);
return print_r($val, true);
}
// Format bool