coding.exercices/beginning.php

19 lines
210 B
PHP
Raw Normal View History

2021-10-26 12:58:24 +02:00
<?php
$variable1 = 'endmove';
2021-10-26 13:27:26 +02:00
$variable2 = 'gashila';
hello($variable1, 19);
hello($variable2, 20);
function hello(string $pseudo, int $age) : void
{
echo "Bonjour $pseudo tu as $age ans ! <br>";
}
2021-10-26 12:58:24 +02:00