PHP is a scripting language commonly used for web development. It has tags like <?php ?> to denote code blocks. It supports common programming constructs like variables, data types, operators, conditional statements and loops. Variables start with $ and can be of types like integers, floats, strings, arrays and objects. PHP is loosely typed and performs automatic type conversions. Errors can be fatal, recoverable or warnings and notices.
Related topics: