Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Wednesday, 24 July 2019

PHP Variables

PHP Variables In PHP, a variable starts with the $ sign, followed by the name of the variable: Eg-:<?php $txt = "Hello world!...

PHP Functions

Creating PHP Function <html>       <head>       <title>Writing PHP Function</title>    </head>       ...

Tuesday, 23 July 2019

File handling and Exception in PHP

File handling in PHP File handling is needed for any application. For some tasks to be done file needs to be processed. File handling i...

Abstract Classes, Static Keyword, Final Keyword and Calling parent constructors

Abstract Classes An abstract class is one that cannot be instantiated, only inherited. You declare an abstract class with the keyword a...

INTERFACES in PHP

INTERFACES in PHP An interface is a description of the actions that an object can do. Interface is written in the same way as the class...

Types of Interfaces in PHP

Interfaces in PHP Interfaces are defined to provide a common function names to the implemented. Different implements can implement thos...

Public Members and Protected members in PHP

Public Members Unless you specify otherwise, properties and methods of a class are public. That is to say, they may be accessed in thre...

Constructor, Destructor Functions and Function Overriding

Constructor Constructor Functions are special type of functions which are called automatically whenever an object is created. So we tak...