The mysqli_get_server_info() function returns the MySQL server version as a text string. This tells
us which database version is actually running on the server, which is crucial when using specific SQL functions.
Practical use: Different versions of MySQL (or MariaDB) support different commands (e.g., JSON fields or Window functions). Use this function to quickly check what your server is capable of. Look at the output: