SlideShare a Scribd company logo
1 of 1
Static
Static makes properties or methods
accessible without instantiation
$this variable is not applicable
Can’t accessible through the object using
the arrow operator ->
Calling non-static methods statically
generates an E_STRICT level warning

More Related Content

Viewers also liked

Viewers also liked (7)

App30205
App30205App30205
App30205
 
Kevin McCloud Interview
Kevin McCloud InterviewKevin McCloud Interview
Kevin McCloud Interview
 
Cultura javy
Cultura javyCultura javy
Cultura javy
 
Attendo
AttendoAttendo
Attendo
 
Rental property
Rental propertyRental property
Rental property
 
Accesorios y ropa de ciclismo
Accesorios y ropa de ciclismoAccesorios y ropa de ciclismo
Accesorios y ropa de ciclismo
 
Cirugia General
Cirugia GeneralCirugia General
Cirugia General
 

Object Oriented PHP

  • 1. Static Static makes properties or methods accessible without instantiation $this variable is not applicable Can’t accessible through the object using the arrow operator -> Calling non-static methods statically generates an E_STRICT level warning