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
PHP 8 support #482
Comments
The biggest issue regarding PHP 8 are likely plugins and addons (and maybe their interactions with the core), and perhaps some templates. Until CMSimple_XH has a version which is compatible with PHP 8, issues in extensions are unlikely to be addressed, or even found in the first place. So I'm +1 on doing this ASAP. |
One more reason. |
Well, we still need to support PHP 5.3.7, but that shouldn't be a real issue; it's just that we can't use some PHP 7 goodies to catch potential early. |
In my tests with the basic 1.7.4 installation, it seems that this fix is actually the only problem. cmsimple-xh/cmsimple/classes/Li.php Line 77 in eae1903
to $this->b = ((int) $this->st) - 1;
I can't see any other things like that. |
You likely hit #484 with XH 1.7.4 as well. The real problem is that manual testing is likely to miss most issues; without a comprehensive test suite and/or static analysis a lot of edge cases will only be found by users. |
It happens for |
ok, versuchen wir es mal in de. Ich habe bei den Seiten-Parametern keinerlei Meldung, weder von XH noch von Apache. |
Wenn ich ein unmodifiziertes XH 1.7.4 unter PHP 8 laufen habe, und dann die Page-Params der "Template"-Seite anschaue, dann ist weder bei "Show last edit" noch bei "Redirect page" etwas vorbelegt. Das liegt daran dass der Vergleich Dieses Problem ist im "master" gelöst, aber ich vermute es gibt halt noch viele andere Stellen (gerade auch in Plugins), wo ähnliches passiert. Es ist grundsätzlich keine gute Idee, Aber egal, wir können nicht alles manuell überprüfen, und sollten im Zweifel eben PHP 8 Kompatibilität dokumentieren, und eventuelle Bugs dann halt zeitnah beheben. |
Ah, ok. |
Dort ist eine |
ok, dann hätten wir das auch geklärt.
Das wird dann wohl nicht anders werden. |
Habe heute mal den aktuellen Master gezogen und unter 8.0.0 laufen gelassen. |
Super! Dann, denke ich, können wir dieses Ticket schließen. |
Would that make sense?
There is still a long way to go until 1.8.
The text was updated successfully, but these errors were encountered: