Bug202505221145 undefined array error
It is personal opinion that functionality added without documentation nor quality assurance test, is a bug. Please ignore this post if disagreed.
The bugs as defined by this person alone will only be published within hubzilla. Again, please ignore this post and the author if disagreed.
Bugs are published as information only. Noone is forced or expected to read, reproduce, replicate. Again, please ignore these posts and the author if disagreed.
Similar to recent bug and comments by others, observed the following error:
"
Undefined array key 0
...
Trying to access array offset on null
...
"
Suggests improved quality assurance and code is necessary (source,
https://www.slingacademy.com/article/how-to-fix-php-warning-undefined-array-key/)
Programmers should take special note:
"
...an ‘Undefined array key’ warning in PHP might initially seem bothersome, it’s actually prompting us to write better, more stable code
...
Writing warning-free code is an imperative skill every PHP developer should pursue. Not only does it ensure smoother functionality within your applications, but it also contributes positively to much larger collective efforts aimed at enhancing PHP’s security features, decreasing server loading times, and breeding best coding practices within the developer community.
...
"
Is there a way to identify all undefined variables, array keys etc., then begin the higher priority (than introducing new bugs (sorry, "gratuitous features")) to fix these for improved software quality?