PHPCourse/Variables/operation_de_nombres.php

20 lines
222 B
PHP

<?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'
}