TYPO3 Forger
  • Dashboard
  • Get involved
  • Reviews
    Overview Ready for review Work in progress Needs action Needs review Needs verification Needs rebase Negative votes Reviewed and verified Ready to merge
  • Issues
    Stale issues Possible duplicates By category By month
  • Sprints
    Overview Initiatives TYPO3 Core Review board
  • Tools
    Backports ReST helper
  • Help
  • Search
  • Login
Esc

Words find the open ones, a number the issue and the change with it.

  1. Issues
  2. #28617
Issue Bug Rejected

#28617t3lib_utility_Math::canBeInterpretedAsInteger() fails on values with whitespaces or leading zeros

Stefan Neufeind 07/31/11, 17:54 updated 08/01/11, 08:22

Open in Forge Comment in Forge

Description

currently:
t3lib_utility_Math::canBeInterpretedAsInteger(’ 30 ‘) results in FALSE
t3lib_utility_Math::canBeInterpretedAsInteger(‘030’) results in FALSE

Will come up with a patch and unit-test for that.

Reviews 1

  • main 3944[BUGFIX] t3lib_utility_Math::canBeInterpretedAsInteger() fails on values with whitespaces, positive/negative sign or leading zeros Resolves this issue Abandoned Stefan Neufeind CR 0 V 0 Easy +24 −3 06/03/13, 20:49

Related issues 3

  • Bug #23113Enhancement of t3lib_div::testInt Related to Closed v4.4 Michiel Roos 07/06/10, 23:41
  • Bug #23114Cleanup: replace calls to t3lib_div::testInt with calls to is_int, mark t3lib_div:testInt as deprecated Related to Closed v4.5 Michiel Roos 07/06/10, 23:56
  • Bug #23525Enhancement of t3lib_div::testInt introduced a different behaviour Related to Closed v4.5 Helmut Hummel 09/11/10, 16:07
Assigned to
Stefan Neufeind
Author
Stefan Neufeind
Priority
Should have
TYPO3 version
4.6
© 2026 TYPO3 GmbH.
  • API
  • Privacy Policy
  • Legal Notice
  • Feedback