PHP incompatibility changes #806

Closed
opened 2026-10-05 00:18:17 +02:00 by adam · 2 comments
Owner

Hi,
I just check changes for PHP7.2 and some code still need be updated. (not only for PHP7.2)

Like using list() when function arguments are array members (check https://3v4l.org/kCFQC )

e.g. used here

Hi, I just check changes for PHP7.2 and some code still need be updated. (not only for PHP7.2) Like using list() when function arguments are array members (check [https://3v4l.org/kCFQC](https://3v4l.org/kCFQC) ) e.g. used [here](https://github.com/Piwigo/Piwigo/blob/843ccb89c1997d551bc1fb5769c5fdaad9655082/include/picture_rate.inc.php#L40) <!-- github-sync-id:341983520 -->
adam closed this issue 2026-10-05 00:18:17 +02:00
Author
Owner

Hi @syky01

I don't understand what you mean. Does the code fails on PHP 7.2? Or is it just not written as it would be if we had started to code Piwigo with PHP 7.2 syntax available?

Hi @syky01 I don't understand what you mean. Does the code fails on PHP 7.2? Or is it just not written as it would be if we had started to code Piwigo with PHP 7.2 syntax available? <!-- github-comment-id:405722718 -->
Author
Owner

I don't understand what the problem is exactly and I have no feedback from @syky01 . Let's close this issue :-/

I don't understand what the problem is exactly and I have no feedback from @syky01 . Let's close this issue :-/ <!-- github-comment-id:407055610 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#806