Project

General

Profile

Actions

Bug #23525

closed

Enhancement of t3lib_div::testInt introduced a different behaviour

Added by Helmut Hummel about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-11
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Branches: trunk

Problem:
When the enhanced version of t3lib_div::testInt was commited, a different behaviour was introduced, for special input data like '10.', '0123' or ' 5'.

Solution:
Restore the old behaviour while keeping a bit of the performance improvement.

(issue imported from #M15685)


Files

15685.diff (2.75 KB) 15685.diff Administrator Admin, 2010-09-11 16:08
15685_test.php (3.24 KB) 15685_test.php Administrator Admin, 2010-09-11 16:08

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #23113: Enhancement of t3lib_div::testIntClosedSteffen Kamper2010-07-06

Actions
Related to TYPO3 Core - Bug #28617: t3lib_utility_Math::canBeInterpretedAsInteger() fails on values with whitespaces or leading zerosRejectedStefan Neufeind2011-07-31

Actions
Has duplicate TYPO3 Core - Bug #23508: PHP Warning in Template module: mb_strlen() expects parameter 1 to be string, array givenClosedSteffen Gebert2010-09-06

Actions
Actions #1

Updated by Ernesto Baschny about 14 years ago

Commited to trunk:

- unit test changes to rev. 8780
- bugfix to rev. 8781 (will be in 4.5alpha2)

Actions #2

Updated by Ernesto Baschny about 14 years ago

Commited to TYPO3_4-4:

- unit test changes to rev. 8858
- bugfix to rev. 8859 (wrong code was never released, will be in 4.4.2.

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF