Recent Posts

PHP Variable Varibles Example

Variable variables are the special features of PHP in PHP. It supports to store the name of a variable into a variable. It is used to change the variable name dynamically. Accessing Variables Variable Variables are start with double…
Read More...

PHP Type Juggling Example

In many programming languages, declaring variables requires variable’s data type and the name of that variable. And then, variables will be initialized, on a need basis, with a value containing same data type as specified in the…
Read More...

Set Execution Time Limit in PHP

In PHP, the default time for executing a program is 30 seconds. This will be set in php.ini file and the directive corresponding to this configuration setting is named as max_execution_time. The value of this directive is expected to be in…
Read More...

What is php.ini File

While installing PHP, this file is provided with PHP installation settings. For that, it includes set of directives provided with respective values. These directives are of two types based on the values they have. These are, Value…
Read More...

PHP Namespace Example

In the file system, we have directories or folders to keep related files. Similarly, PHP namespaces are used to have related code blocks of a PHP program that are reusable, like, classes, functions, interfaces under its reference. And, PHP…
Read More...

php unlink vs unset

These two PHP functions are identical on performing some undo operations but differs in the type of data on which they are applied to perform such undo functionalities. In PHP, unlink() is acting as the drop operation which will completely…
Read More...

foreach loop in php

In PHP, foreach statement is used to iterate over a collection of data, like PHP arrays. As per the name of this construct, it will keep on continue with the loop to traverse given input array for each of its element, without any…
Read More...