loop2 Please Wait...
DeveloperGang

What are the different types of errors in PHP?

There are three types of errors in PHP. 1. Notice: These are very normal and non-critical errors and they even not displayed to users. For examples accessing a variable that no...

What is PEAR in PHP?

PEAR stands for “PHP Extension and Application Repository”. PEAR provides an inbuilt library of open source code for PHP developers. It provides support for package maintains and c...

What is difference between echo() and print()?

introduction: echo and print both are used to display output in PHP. echo/print both can be used with or without parentheses Syntax: Difference: In PHP echo does not return an...

In a PHP class what are the three visibility keywords of a property or method?

public, private and protected. The default is public. Public -> Any class may instantiate the class and call the method or property. Protected -> Only the class itself or inher...

What is Polymorphism?

It's simply the idea that one object can can take on many forms. So in PHP OOP one class "cars" may have two classes that extend it, for example a "Honda" class and a "BMW" class.

What is Object Oriented Programming?

This is usually a pretty open ended question. You should understand classes (objects are instantiated classes), abstract classes, interfaces, methods, properties,inheritance, multi...

What is PHP?

PHP is a server side scripting language commonly used for web applications. PHP has many frameworks and cms for creating websites.Even a non technical person can cretae sites using...

What is the use of "echo" in php?

It is used to print a data in the webpage, Example: , The following code print the text in the webpage.

Who is the father of php and explain the changes in php versions?

Rasmus Lerdorf for version changes go to http://php.net/ Marco Tabini is the founder and publisher of php|architect.

How to create a session? How to set a value in session ? How to Remove data from a session?

Create session : session_start(); Set value into session : $_SESSION['USER_ID']=1; Remove data from a session : unset($_SESSION['USER_ID'];
Lorem ipsum dolor sit amet consectetur adipisicing elit. Fuga, aspernatur.