Date Functions in PHP

Date Functions in PHP. There are different built-in functions in PHP. PHP date functions perform processing easily with the date and its relevant operations. This date() function can be utilized to obtain and set the date and the time as per our business conditions. PHP time() function provides timestamp as an output. The function date() […]

3 Basic Hash functions in PHP

Hash functions in PHP is a specific process pre-defined and used for showing a string in the form of a particular value held from the string’s characters. It is common for its application as an encryption algorithm and as an index value description for objects in the database. The most generally used types of hash […]

17 Basic PHP String Functions

PHP String Functions. PHP built-in supports some data types. Special from these, PHP also holds various functions that are used while working on some data. PHP String functions are some of those functions that are used to manage string data. All these PHP functions are predefined. There is a requirement for installing any plugins. Let’s […]

PHP Recursive Function

PHP Recursive Function. The PHP programming language presents the use of different capabilities that allow us to develop easy and complex applications. The capabilities have been performed in the program using PHP keywords that are written in the statement to capture the requirement. The functionalities support the application development which is helped by the logic. […]

PHP Math Functions | With Examples

PHP math functions with examples. As we know PHP stands for Hypertext Preprocessor. PHP is a programming language that could be used to create small and vast applications like simple forms etc to large-scale business applications. PHP is a server-side based scripting language. All programming language has numbers of in-built default capabilities. These capabilities assist […]

Functions in PHP with Examples

Functions in PHP with Examples. In PHP, several functions are used like, built-in functions and user-defined functions. Each and all function has its individual functions and properties. A function is a number of statements addressed in the program that can be utilized many times in the code wherever required. A function request is needed to […]

Destructor in PHP With Example

Destructor in PHP. A Destructor is a function used for destroying the object instance that was performed by a constructor for a provided class, as a part of its functional specialty. At any moment a constructor is used in a PHP program, it is not compulsory to have a destructor function to complement its functionality. […]

Constructor in PHP

Constructor in PHP. The constructor is the PHP Object Oriented Programming idea. The constructor is combined with the classes we state in the program. The constructor is called automatically when the object of the class is initiated, so the definition of constructor performs like this, ‘A constructor is a specific way which is ordered automatically […]

What is PHP Array

What is PHP Array? Arrays in PHP are a type of data structure, which provides us to store the purposes of building a different variable in order to save multiple elements with a similar data type inside a single variable. The arrays support to build off a list of similar elements, available by index or […]

For Loop in PHP

For Loop in PHP. Loops in PHP are used to execute a task continuously. For Loop in PHP has different forms. While loop and for loop performs a block of the program, that is based on a condition. When it is identified before that a selective block of code should run this number of times […]