View Issue Details

IDProjectCategoryView StatusLast Update
0000876XMB1Research Taskspublic2026-05-21 03:21
Reportermiqrogroove Assigned To 
PrioritynormalSeverityminorReproducibilityN/A
Status newResolutionopen 
Target Version1.12.00 
Summary0000876: PHP 8.6 Compatibility
DescriptionItems expected to affect XMB compatibility with PHP 8.6:

Type casting a string that contains alphanumeric data will cause an error. No more (int) '56 stuff' allowed.
Additional Informationhttps://wiki.php.net/rfc/deprecate-fuzzy-and-null-casts
https://wiki.php.net/rfc/deprecate-fuzzy-casts
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision
Git Commit

Activities

flushedpancake

2026-05-12 07:05

reporter   ~0000615

LOL

flushedpancake

2026-05-12 07:06

reporter   ~0000616

Type casting a string that contains alphanumeric data will cause an error. No more (int) '56 stuff' allowed.

where exactly is this absolutely comical piece of code

I need to see this

miqrogroove

2026-05-12 07:53

administrator   ~0000617

This RFC hasn't been confirmed, so I haven't done an audit yet. However, this pattern definitely exists. It's just way easier to type cast to int than it is to apply a regex or other filter. The most obvious example is in what we now call class Validation. Each use of the intval callback or (int) is intended to extract numeric data from arbitrary input. To throw an error in that case would break the entire project.

Issue History

Date Modified Username Field Change
2025-12-24 12:05 miqrogroove New Issue
2026-04-22 17:51 miqrogroove Target Version 1.10.03 => 1.12.00
2026-05-12 07:05 flushedpancake Note Added: 0000615
2026-05-12 07:06 flushedpancake Note Added: 0000616
2026-05-12 07:53 miqrogroove Note Added: 0000617
2026-05-21 03:21 miqrogroove Additional Information Updated