<?php function run(string $name) { return $name ?? 'tom'; } var_dump(run('')); function run2(string $name) { return $name ?: 'tom'; } var_dump(run2(''));
You have javascript disabled. You will not be able to edit any code.