Tell us what are the __construct() and __destruct() methods in a PHP class?
Submitted by: MuhammadAll objects in PHP have Constructor and Destructor methods built-in. The Constructor method is called immediately after a new instance of the class is being created, and it's used to initialize class properties. The Destructor method takes no parameters.
Understanding these two in PHP means that the candidate knows the very basics of OOP in PHP.
Submitted by: Muhammad
Understanding these two in PHP means that the candidate knows the very basics of OOP in PHP.
Submitted by: Muhammad
Read Online Jnr PHP/Codeigniter Developer Job Interview Questions And Answers
Top Jnr PHP/Codeigniter Developer Questions
☺ | Tell us what helpers in CodeIgniter are and how you can load a helper file? |
☺ | Do you know what is inhibitor in CodeIgniter? |
☺ | Tell me how you can enable CSRF (Cross Site Request Forgery) in CodeIgniter? |
☺ | Do you know how can you enable error reporting in PHP? |
☺ | Explain me how would you declare a function that receives one parameter name hello? |
Top Web Developer Categories
☺ | Bootstrap Interview Questions. |
☺ | Front End Web Developer Interview Questions. |
☺ | Laravel PHP Developer Interview Questions. |
☺ | Typography Interview Questions. |
☺ | Junior Developer PHP Interview Questions. |