Chapter
Basic Syntax Rules
From ComputerScienceOne by Dr Chris Bourke
Concepts
- What are the main characteristics of PHP as a programming language?
"Using the Hello World! program as a starting point, we will examine the basic elements of the PHP language. PHP has adopted many aspects of the C programming language (the interpreter itself is writt
- How are strings, statements, and code blocks written in PHP?
"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\", 'th
- How do PHP features and whitespace support organized code?
"PHP also supports aspects of OOP including classes and inheritance. There is also no memory management in PHP: it has automated garbage collection. Though not a syntactic requirement, the proper use