Was setting up a Dev moodle install on a new laptop for testing some themes and suchlike.
Noted: MDL-70745 - PHP 8.0 support is being implemented for Moodle 3.11 and later releases. Hence it's still incomplete and only for development purposes.
Got Moodle 3.11 via Git
Went to install and it immediately hit a Deprecation -
Deprecated: Return type of moodle_recordset::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Dev_Servers\xampp\htdocs\moodle\lib\dml\moodle_recordset.php on line 61
So will have to revert to an earlier Xampp with 7.x php.
But thought I'd mention it here though in case others installing the latest apache get the same or similar error.
Ans so that the moodle devs are aware of the error.