Author Archive: phpMoot

PHP Arrays

Arrays are the undisputed kings of advanced data structures in PHP. PHP arrays are extremely flexible—they allow numeric, auto-incremented keys, alphanumeric keys or a mix of both, and are capable of storing practically any value, including other arrays. With over… (READ MORE)

PHP Operators

As their name subtly suggests, operators are the catalysts of operations. There are many types of operators in PHP, those commonly used are: • Assignment Operators for assigning data to variables • Arithmetic Operators for performing basic math functions •… (READ MORE)

PHP Constants

Conversely to variables, constants are meant for defining immutable values. Constants can be accessed for any scope within a script; however, they can only contain scalar values. Constant names, like variables, are case-sensitive; they also follow the same naming requirements,… (READ MORE)