// This is single line code comment example # This one also single line code comment example $fruits = 'apple'; // assigning 'apple' string to variable # first line checks if specific variable's value equal to 'apple' # then echo 'Yes' if its true and 'No' otherwise if($fruits == 'apple') { echo "Yes, its Apple
"; // prints only if its true } else { echo "No, it's not
"; # prints only if its false }
Hello World!