Latest Tutorials

The string functions for working with characters in PHP (substr_count()...)

PHP uses number of integrated functions for working with characters in a string. The list of characters manipulating functions is shown below. The characters manipulati...

The string functions for HTML tags characters in PHP (strip_tags()...)

PHP uses number of integrated functions for working with HTML tags. The list of HTML tags related functions is shown below. The HTML tags functions in PHP:...

Introduction to PHP arrays and basic functions (count()...)

In general the arrays are variables capable of storing more than one value.   The arrays in PHP are similar to arrays in other language, tha...

Types of arrays in PHP: associative and indexed arrays

There are ways of assigning values to arrays: by association and by indexing.

Arrays sorting in PHP (sort(), asort(), ksort()...)

As with other programming languages, in PHP also sorting arrays and their values have a high importance. An array can be sorted in ascending or descending order and with numerous functions...

Arrays and strings conversions in PHP (implode(), explode())

The arrays may have their values combined or seperated from one another as wanted. These operations are achived by functions listed below. The list of functions used fo...

User defined functions in PHP

A function is a separate block of code that is created to be used repeatedly in a program by the script as required. Besides all the hundreds of

The anonymous functions in PHP

The anonymous functions are special types of function that have no specified name, hence being anonymous. They are also known as closures. Syntax for an anonymous&nbs...

Introduction to classes and objects in PHP

In general object oriented model (OOM) allows better parsing (or compiling) performance and more features. In PHP, once an object is created, a variable makes a reference t...

Magic methods in PHP classes

The PHP reserves some functions which can be called when needed in within a class. These predefined functions are called m...