View Issue Details

IDProjectCategoryView StatusLast Update
0000720XMB1Bugspublic2024-11-01 04:55
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionno change required 
Product Version1.9.8 SP2 
Target Version1.9.12.07 
Summary0000720: PHP 5 Style Nullable Parameters are Deprecated
DescriptionThere has been a prominent use of PHP 5 nullable parameters in the XMB function put_cookie and the XMB MySQL driver function fetch_tables that are expected to cause deprecated messages in debug mode when using PHP 8.4.

At least one other instance was added in the v1.9.11 of function loginUser.

Note that some of the proposed solutions are not compatible with PHP 7.0.
Additional Informationhttps://wiki.php.net/rfc/deprecate-implicitly-nullable-types
TagsNo tags attached.
MySQL Version
PHP Version8.4
Web Server
Browser
Flags
Original Reporter
SVN Revision

Relationships

child of 0000717 assignedmiqrogroove PHP 8.4 Compatibility 

Activities

miqrogroove

2024-11-01 04:55

administrator   ~0000521

Discussion at PHP.watch clarifies the deprecation will not apply to untyped parameters. As all of the nullable parameters in XMB have no type declaration, this change will have no effect for XMB 1.9.12.

"PHP applications are recommended to explicitly declare the type as nullable. All type declarations that have a default value of null, but without declaring null in the type declaration emit a deprecation notice"

https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

Issue History

Date Modified Username Field Change
2024-11-01 02:49 miqrogroove New Issue
2024-11-01 02:49 miqrogroove Relationship added related to 0000717
2024-11-01 02:49 miqrogroove Relationship deleted related to 0000717
2024-11-01 02:49 miqrogroove Relationship added child of 0000717
2024-11-01 02:53 miqrogroove Status new => acknowledged
2024-11-01 02:53 miqrogroove Description Updated
2024-11-01 02:59 miqrogroove Description Updated
2024-11-01 04:55 miqrogroove Assigned To => miqrogroove
2024-11-01 04:55 miqrogroove Status acknowledged => resolved
2024-11-01 04:55 miqrogroove Resolution open => no change required
2024-11-01 04:55 miqrogroove Note Added: 0000521