Integers on PHP

An integer is a number of the set ? = {…, -2, -1, 0, 1, 2, …}. Syntax Integers can be specified in decimal (base

PHP supports eight primitive types.

Four scalar types: boolean integer float (floating-point number, aka double) string Two compound types: array object And finally two special types: resource NULL This manual

Booleans on PHP

This is the simplest type. A boolean expresses a truth value. It can be either TRUE or FALSE. Note: The boolean type was introduced in

Comments on PHP

PHP supports ‘C’, ‘C++’ and Unix shell-style (Perl style) comments. For example: <?php echo ‘This is a test’; // This is a one-line c++ style

Escaping from HTML fron PHP

When PHP parses a file, it looks for opening and closing tags, which tell PHP to start and stop interpreting the code between them. Parsing

What is PHP?

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be