View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000876 | XMB1 | Research Tasks | public | 2025-12-24 12:05 | 2026-05-21 03:21 |
| Reporter | miqrogroove | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | new | Resolution | open | ||
| Target Version | 1.12.00 | ||||
| Summary | 0000876: PHP 8.6 Compatibility | ||||
| Description | Items 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 Information | https://wiki.php.net/rfc/deprecate-fuzzy-and-null-casts https://wiki.php.net/rfc/deprecate-fuzzy-casts | ||||
| Tags | No tags attached. | ||||
| MySQL Version | |||||
| PHP Version | |||||
| Web Server | |||||
| Browser | |||||
| Flags | |||||
| Original Reporter | |||||
| SVN Revision | |||||
| Git Commit | |||||
|
|
LOL |
|
|
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 |
|
|
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. |
| 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 |