Concept

How are strings, statements, and code blocks written in PHP?

ComputerScienceOne / Basic Syntax Rules

"Strings and characters are essentially the same thing (characters are strings of length 1). Strings and characters can be delimited by either single quotes or double quotes. \"this is a string\", 'this is also a string'; 'A' and \"a\" are both single character strings. Executable statements are terminated by a semicolon, ;. Code blocks are defined by using opening and closing curly brackets, { ... }. Moreover, code blocks can be nested: code blocks can be defined within other code blocks. A complete list of reserved and keywords can be found in the PHP Manual: http://php.net/manual/en/reserved.php and http://php.net/manual/en/reserved.keywords.php."

Related Ideas

How are strings, statements, and code blocks written in PHP? | ComputerScienceOne | Bifalgorithm | Bifalgorithm