Using echo
to display text:
Hello, World!
This is printed using the print
function.
Variable $name
is: World
Variable $age
is: 25
Sum of 10 and 5 is: 15
Difference between 10 and 5 is: 5
Product of 10 and 5 is: 50
Quotient of 10 divided by 5 is: 2
Is 10 equal to 5? No
The boolean variable is: True