Loading, please wait...

Latest Article

How to check a case insensitive substring exists within the given string using a regular expression pattern in PHP | PHP program
How to demonstrate the regular expression to count the occurrence of a given substring in PHP | PHP program
How to demonstrate the regular expression to replace the substring within the string in PHP | PHP program
How to demonstrate the quantifiers in pattern to search a string using a regular expression in PHP | PHP program
How to demonstrate the use of $GLOBALS to access global variables in PHP | PHP program
How to print the filename of the current executing PHP script in PHP | PHP program
How to demonstrate the regular expression to count the occurrence of a given substring in PHP | PHP program
How to print the version of CGI used by the webserver in PHP | PHP program
How to print the server name or website name in PHP | PHP program
How to print the version of the server software in PHP | PHP program
How to print the server protocol in PHP | PHP program
How to print the request method used to access the webpage in PHP | PHP program
How to print the timestamp of the start of the request in PHP | PHP program
How to demonstrate the use of $_REQUEST superglobal variable in PHP | PHP program
How to demonstrate the use of $_POST superglobal variable in PHP | PHP program
How to decode the JSON string into an associative array in PHP | PHP program
How to demonstrate the json_encode() function with multi-dimensional array in PHP | PHP program
How to demonstrate the json_encode() function with indexed array of strings in PHP | PHP program
How to create Divide By Zero Exception class in PHP | PHP program
How to create a user-defined exception class in PHP | PHP program
How to demonstrate the finally block in exception handling in PHP | PHP program
How to create DivideByZeroException class in PHP | PHP program
How to create a user-defined exception class in PHP | PHP programs
How to demonstrate the NULL reference exception using exception handling in PHP | PHP programs
How to demonstrate the Array index out of bound exception using exception handling in PHP | PHP program
How to demonstrate the Divide By Zero Exception using exception handling in PHP | PHP program
 How to download the text file from the specified URL in PHP | PHP program
How to send a text e-mail message in PHP | PHP program
How to convert base64 into the simple string in PHP | PHP programs
How to convert a string into base64 in PHP | PHP programs
How to calculate the md5 hash from plaintext in PHP | PHP programs
How to demonstrate the function returning object in PHP | PHP programs
How to pass an object of class as an argument in PHP | PHP programs
How to demonstrate the method overloading based on the number of arguments in PHP | PHP program
How to demonstrate the final keyword in PHP | PHP programs
How to demonstrate the method overriding in PHP | PHP programs
How to demonstrate the inheritance of abstract classes in PHP | PHP programs
How to inherit an abstract class and an interface in a non-abstract class in PHP | PHP programs
How to inherit an abstract class into multiple non-abstract classes in PHP | PHP program
How to demonstrate the final keyword in PHP | PHP programs
How to demonstrate the method overriding in PHP | PHP programs
How to demonstrate the inheritance of abstract classes in PHP | PHP programs
How to inherit an abstract class and an interface in a non-abstract class in PHP | PHP programs
How to inherit an abstract class into multiple non-abstract classes in PHP | PHP programs
How to demonstrate the example of the simple abstract class in PHP | PHP programs
How to demonstrate the inheritance of interfaces in PHP | PHP programs
How to implement multiple-inheritance using the interface in PHP | PHP programs
How to implement multiple interfaces in the same class in PHP | PHP programs
How to implement an interface into multiple classes in PHP | PHP programs
How to demonstrate the example of a simple interface in PHP | PHP programs
How to demonstrate the hierarchical or tree inheritance in PHP | PHP programs
How to demonstrate the multi-level inheritance in PHP | PHP programs
How to call base class destructor from the derived class in PHP | PHP programs
How to call a base class constructor from the derived class in PHP | PHP programs
How to demonstrate the single inheritance in PHP | PHP programs
How to calculate the power of a given number using recursion in PHP | PHP programs
How to calculate the factorial of a given number using recursion in PHP | PHP programs
How to demonstrate the use of variable arguments in PHP | PHP programs
How to demonstrate the use of default arguments in PHP | PHP programs
How to demonstrate the call by reference parameter passing in PHP | PHP programs
How to demonstrate the call by value parameter passing in PHP | PHP programs
How to demonstrate the use of destructor in PHP | PHP programs
How to implement the parameterized constructor using __construct() in PHP | PHP program
How to demonstrate the parameterized constructor in PHP | PHP programs
 How to implement the default or no-argument constructor using __construct() in PHP | PHP programs
How to demonstrate the default or no-argument constructor in PHP | PHP programs
How to demonstrate the use of the local and global variables in PHP | PHP programs
How to demonstrate the use of printf() function in PHP | PHP program
How to print the method name with the associated class name using magic constant __METHOD__ in PHP | PHP programs
How to print the class name using magic constant __CLASS__ in PHP | PHP programs
How to print the function name using magic constant __FUNCTION__ in PHP | PHP programs
How to print the full path of the current program file in PHP | PHP programs
How to print the line number using __LINE__ magic constant in PHP | PHP programs
How to check a constant is defined or not in PHP | PHP programs
How to check a constant is defined or not in PHP | PHP programs
How to create a case in-sensitive constant using define() function in PHP | PHP programs
How to create a constant using define() function in PHP | PHP programs
How to implement a cascaded function call in PHP | PHP programs
How to convert hours, minutes, and seconds into several seconds in PHP | PHP programs
How to convert seconds into hours, minutes, and seconds in PHP | PHP programs
How to create a class to add two times in PHP | PHP programs
How to create a class to subtract one distance from another distance in PHP | PHP programs
How to create a class to add two distances in PHP | PHP programs
How to create a class with setter and getter functions in PHP | PHP programs
How to initialize data members without using the constructor in PHP | PHP program
How to print the size of the empty class in PHP | PHP program
How to define methods within the class in PHP | PHP program
How to create multiple objects of a class and access attributes of the class in PHP | PHP program
How to create an object of a class and access the class attributes in PHP