To this day the most common usage of PHP is to communicate with a MySQL database on the backend. Despite more people switching over to technologies like Node.js or Python, PHP still remains a common choice for backend programming.
PHP has the call_user_func_array function, which allows a callback function to be called with all of its parameters in an array.
Unlike variadic templates in C++ and because of the non-strict typing of PHP this is very easy by just adding …
Because the main usage of PHP is the communication with the database on the backend, prepared statements will be used very often.