php 7 1 functions parameters with 22 3f 22

Solutions on MaxInterview for php 7 1 functions parameters with 22 3f 22 by the best coders in the world

showing results for - "php 7 1 functions parameters with 22 3f 22"
Dario
07 Jun 2016
1function sayHello(?string $name) {
2    echo "Hello " . $name . PHP_EOL;
3}
4sayHello(null); // Hello
5sayHello("John"); //Hello John
6