Commit

6c6f0d3

probably this php snippets implies same as in bash 🤔:
php
function greet(?string $nom): string
{
return "hello!  " . ($nom ?? "dev-null");
}

$greet = greet("Adamas");

echo $greet;
here in shell script:
bash
#!/bin/bash

greet() {
local nom=$1
echo "hello! ${nom:-dev-null}"
}

sayhello=$(greet "Adamas")
echo "$sayhello" | cat

commit 6c6f0d3