--- a/kint/kint/inc/kintParser.class.php +++ b/kint/kint/inc/kintParser.class.php @@ -493,7 +493,9 @@ abstract class kintParser extends kintVariableData $access = "public"; } - $value = $property->getValue( $variable ); + $old_handler = set_error_handler(function() use(&$value) { $value = NULL; return true; }); + $value = $property->getValue( $variable ); + set_error_handler($old_handler); $output = kintParser::factory( $value, self::escape( $name ) ); $output->access = $access; @@ -605,4 +607,4 @@ abstract class kintParser extends kintVariableData $variableData->value = var_export( $variable, true ); } -} \ No newline at end of file +}