Project

General

Profile

Actions

Task #96219

closed

Use get_debug_type() over is_object() and gettype()

Added by Andreas Kienast almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2021-12-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

In some exception messages, the exact object type is rendered. Currently, this is done via is_object(), get_class() and gettype(). With PHP 8 (and the symfony/polyfill-php80 package), get_debug_type() may be used providing the same functionality.

Actions

Also available in: Atom PDF