PHP code

From Wiki @ Karl Jones dot com
Jump to: navigation, search

PHP code is text written in the PHP programming language.

PHP files

PHP code is stored in PHP files.

Inside a PHP file, the PHP code is written inside a code island.

Statements

PHP code consists of one or more statements.

A statement expresses some action to be carried out.

Most computer programs are made up of multiple statements.

Semicolon end-of-statement

In PHP, the semicolon (;) indicates the end of a statements.

Two PHP statements must be separated by a semicolon.

It is common to speak of "ending the statement with a semicolon." However, a single PHP statement may omit the semicolon.

See also

External links