what is interface in php? how it is use?

Answer Posted / karthi

interface =multiple inheritance

means:
An multiple inheritance is not supported in php that time we
using interface. It is implements two baseclasses but class
extends only one class.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between post and put in rest?

524


How to remove all duplicate values in array in php?

525


How to redirect https to http url and vice versa in .htaccess?

517


What is cookies php?

527


What is cookies? How to create cookies in php?

526






Name some of the constants in php and their purpose.

537


Do you know is it possible to extend the execution time of a php script?

584


What does $_server mean?

566


What is urlencode and urldecode in php?

585


What is the difference between htmlentities and htmlspecialchars in php?

480


Are php sessions secure?

535


What is the use of hooks?

537


What is the use of offset in mysql?

532


What is isset in php?

538


Tell me what is the use of explode() function?

548