-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] Add compatibility to PHP up to 8.3 #21
Conversation
$indexCount = count($indexes); | ||
for ($index = 1; $index <= $indexCount + 1; $index++) { | ||
for ($index = 1; $index <= $indexCount + 1; ++$index) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ändern wir hier nicht die Logik? Vorher haben wir bei $index=1 begonnen, jetzt fangen wir bei $index=2 an.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Die Logik wird nicht verändert, nur das Verhalten der Variable, siehe
https://stackoverflow.com/questions/1756015/whats-the-difference-between-i-and-i-in-php#:~:text=15%20Answers&text=%2B%2B%24i%20is%20pre%2Dincrement,%24i%2B%2B%20post%2Dincrement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passt :) Habs auch mal getestet und wieder mal was gelernt
No description provided.