declare(strict_types = 1);
function show(string $name, int $age){
echo "Name: $name, Age: $age";
}
show("Tom", 52);
// show("Tom", "52"); // error: Uncaught TypeError: show(): Argument #2 ($age) must be of type int, string given,
/*
run:
Name: Tom, Age: 52
*/