]> mop.ddnsfree.com - git repositories - brisk.git/commit
php8: the result of a call assigned by reference
authorMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 13 Sep 2026 10:35:45 +0000 (12:35 +0200)
committerMatteo Nastasi <nastasi@alternativeoutput.it>
Sun, 13 Sep 2026 10:35:45 +0000 (12:35 +0200)
commit6464e1b69ee96be71d9252cc1129644b6ec8e923
tree325958c58d0cab979a6dcd9e8bb5cb336bb400e2
parent68ebb225a4781f0323e8fc1c9ec6ee7ae4a8a5f8
php8: the result of a call assigned by reference

"Only variables should be assigned by reference": the return value of a
function is not a variable, and none of the three methods called declares
that it returns a reference. With objects the & has been useless since php 5,
and every other place that calls get_user() already assigns without it.

The Notice came out on every card played (briskin5's index_wr.php) and was
invisible until the daemon log was cleaned up.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014M1jiEq9cHdE5SE5j6vFuE
web/Obj/auth.phh
web/Obj/hardban.phh
web/briskin5/index_wr.php