coding.exercices/beginning.php
2021-10-26 13:27:26 +02:00

19 lines
210 B
PHP

<?php
$variable1 = 'endmove';
$variable2 = 'gashila';
hello($variable1, 19);
hello($variable2, 20);
function hello(string $pseudo, int $age) : void
{
echo "Bonjour $pseudo tu as $age ans ! <br>";
}