Tuto variable premier commit

This commit is contained in:
2021-10-26 15:04:42 +02:00
commit a0d8c5747e
4 changed files with 206 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
function strlen(string $str, int $count) : int
{
return count($str);
}
echo strlen("salut");
$var = 'endmove';
hello('endmove');
function hello(string $pseudo = 'endmove') : string
{
$pseudo = 'endmove'
}