Project

General

Profile

Actions

Bug #99184

closed

ValueException in GeneralUtility intExplode/trimExplode

Added by Stefan Froemken over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
Start date:
2022-11-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

Hi,

If you call GeneralUtility::intExplode() or GeneralUtility::trimExplode() with an empty string as delimiter a ValueException will be thrown since PHP 8.0.

Maybe such calls should be wrapped in a try-catch block?

Stefan


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #99178: Drop fallback for explode callsClosedOliver Klee2022-11-24

Actions
Actions

Also available in: Atom PDF