Tag: php institutes gurgaon haryana

Difference between require() and require_once()?

The require() and require_once() functions perform same work. Both functions will include and evaluates the specific file while executing the code. if include() is not able to find a specified file on location at that time it will throw a warning however, it will not stop script execution. For the same scenerio require() will throw […]

Read more

Multiple inheritance in PHP?

Inheritance is a well-established programming principle, and PHP makes use of this principle in its object model. This principle will affect the way many classes and objects relate to one another. For example, when you extend a class, the subclass inherits all of the public and protected methods from the parent class. Unless a class […]

Read more

Require () and Include () function in PHP

The Include() and require() statements are used to insert codes written in other files, in the flow of ¬†execution. The main of using include and require functions to integrate one page code or content into another page. You can maintain usually some repeated functionality in the form of PHP file and finally you can call […]

Read more