HTML
CSS
PHP
Deno
Examples
Do It Yourself
Blog
Type in your code below
Run
<?php //using echo and echo() to output data echo "Hi!"; echo("Hi!"); //using print and print() to output data print "Hi!"; print("Hi!"); //I can take more than one parameter echo "Hello", "world"; //I can't take more than one parameter print "Hello world"; //echo and print can be used to output variables $var = "Hello world"; echo $var; print $var; ?>
Related Chapters
PHP Math
PHP Operators
PHP Boolean
PHP Arrays
PHP Numbers
Related Examples
PHP Constants Example
PHP Math sqrt() Example
PHP Boolean Logical NOT Example
PHP Boolean Conversion Example
PHP Boolean Example