From 953bf30e6c3a0864a37355115dbfb9f1d1127a5b Mon Sep 17 00:00:00 2001 From: ELmardi2 Date: Tue, 12 Jul 2016 11:53:03 +0200 Subject: [PATCH] do it ppppp --- hello-world.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/hello-world.php b/hello-world.php index 4c88d22..d2f3c6e 100644 --- a/hello-world.php +++ b/hello-world.php @@ -4,10 +4,14 @@ // This is only a SKELETON file for the "Hello World" exercise. // It's been provided as a convenience to get you started writing code faster. // - -function helloWorld($name) +function HelloWorld($name) { - // - // YOUR CODE GOES HERE - // + if($name == null){ + echo "Hello,world"; + } + else { + echo "Hello," . " " . $name; + } } + HelloWorld("Alice"); + ?>