<?php function handle_the_string(string $string): void { echo $string . PHP_EOL; } echo strtolower('hello') . PHP_EOL; echo strtolower(null) . PHP_EOL; handle_the_string('world'); handle_the_string(null);
You have javascript disabled. You will not be able to edit any code.