Hello David, you are 17 years old!

Hello $name, you are $age years old!

Warning: Constant birthyear already defined in /home/mchughd2027/public_html/PHP Chapter 1/chapter1.php on line 31
This is a constant: 2008

This is a string function example: 5

This is the name normally: David

This is the name in uppercase using strtoupper function: DAVID

This is the name in lowercase using strtolower function: david

This is rounded to 4 decimals: 1.2857

The dividend was divided by the divisor and i used the quotient and i used the round command and rounded it to 4 decimals

This is a number without formatting: 3005

This is with number_format function: 3,005

Concatenation of name, age, birthyear, and dividend number: David 17 2008 9

This is a plain echo statement.

This is an interpreted h5 statement
To check for errors in a document, enable error reporting at the top of the PHP code. It consists of ini_set and error_reporting commands.

The $SERVER command consists of 3 main functions: script_file name, http_user_agent, and server_software.

$file is assigned to the script filename. This variable stores the full path and name of the file being executed.
$user is assigned to the http user agent. This variable represents the browser and operating system of the user accessing the page.
$server is assigned to the server software. This variable represents the webb application on the server that is running php.