PHP function documentation. Code example open

PHP function documentation. Code example

Approved. Code works!
This is exactly the working code that is verified by the moderator or site administrators
/**
* Return sum of $a and $b
* @param int $a
* @param int $b
* @return int Sum of $a and $b
*/
function get_sum(int $a, int $b): int
{
return $a + $b;
}
0

More

Leave a Reply

Your email address will not be published. Required fields are marked *

How many?: 22 + 22

lil-code© | 2022 - 2024
Go Top
Authorization
*
*
Registration
*
*
*
*
Password generation