What are magic methods in php

Answers were Sorted based on User's Feedback



What are magic methods in php..

Answer / inderjeet sohal

Magic methods is a member function. it always starts with double underscore.

Example: __construct, __destruct, __sleep, __wakeup, __set, __get

Is This Answer Correct ?    15 Yes 0 No

What are magic methods in php..

Answer / uu

retrieve

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More PHP Interview Questions

What is empty () in php?

0 Answers  


How do http requests work?

0 Answers  


what are Implode and Explode functions?

8 Answers   HCL,


What is the Pipe Symbol represented?

0 Answers  


What is the actually used php version?

0 Answers  






When a conditional statement is ended with an endif?

0 Answers  


Does php class need constructor?

0 Answers  


What is the use of paypal in the e-commerece website?

3 Answers   RedAlkemi,


What is a closure in php?

0 Answers  


How many ways we can pass the variable through the navigation between the pages?

7 Answers  


What are php magic quotes?

0 Answers  


What is the goto statement useful for?

0 Answers  


Categories