Creating this because bug #2857 was closed, and I don't know if updating it will be seen. Bug #2857 was closed saying "1.4.23 ... contains fixes for the issues you are seeing and runs on PHP8."
Ubuntu 22.04LTS, SquirrelMail 1.4.23, PHP8.1
SquirrelMail 1.4.23 still has all the issues that were reported in bug #2857 - use of curly braces where not allowed, in addition to built-ins that were removed as far back as PHP7.2.
For instance (one of many):
PHP Fatal error: Array and string offset access syntax with curly braces is no longer supported in /usr/share/squirrelmail/functions/mime.php on line 875
as well as
PHP Warning: session_set_cookie_params(): Session cookie parameters cannot be changed when a session is active in /usr/share/squirrelmail/functions/global.php on line 476
PHP Fatal error: Uncaught Error: Call to undefined function each() in /usr/share/squirrelmail/functions/imap_general.php:770
PHP Fatal error: Uncaught Error: Call to undefined function create_function() in /usr/share/squirrelmail/functions/mime.php:706
It looks like you are not running an up-to-date version of 1.4.23-svn. See here:
https://sourceforge.net/p/squirrelmail/code/HEAD/tree/branches/SM-1_4-STABLE/squirrelmail/functions/mime.php
Line 875 has no curly braces. The other errors also do not appear in the current code. Please grab a recent snapshot from our downloads page and these issues should all be resolved for you.
Thanks for your participation