Self Operator in PHP

In this tutorial, you will learn about self operator and its uses in PHP



The self keyword represents current and static members of the class.

 

Syntax

self :: $static_member
 

Uses with Example

 



Tags: , , ,