|
Notices |
![]() |
|
Thread Tools | Rate Thread | Display Modes |
![]() |
#1 |
Registered User
Join Date: Sep 2017
Posts: 224
|
What are the __construct() and __destruct() methods in a PHP class?
What are the __construct() and __destruct() methods in a PHP class?
__________________
travel technology companies | travel agent booking engine | travel booking system | travel agent booking system | gds booking engine |
![]() |
![]() |
![]() |
#2 |
Registered User
Join Date: Apr 2017
Posts: 109
|
construct() method is used to create object of a class. And destruct() is simply opposite to construct(), used to destroy the object.
__________________
Chartered Accountant | Company registration | Payroll Services | Company Formation | CA | Auditing | GST Coaching Center |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | Rate This Thread |
|
|