PHP - Explain type of inheritance that php supports.

Explain the type of inheritance that php supports.

- PHP supports single & multilevel inheritance.

- It does not support multiple inheritance.

- In single inheritance, by using the extend keyword a class can inherit methods and members of another base class (only one).

- PHP uses the concept of inheritance only in the object model.

- If a class extends another then the parent class is to be declared before the child class.

- The classes must be defined before they are used.
PHP - Explain each encryption function supported in PHP.
Explain each encryption function supported in PHP - Mcrypt() supports many functions. Few are listed below....
PHP - Explain GRANT commands and REVOKE commands with their syntax.
GRANT commands and REVOKE commands - GRANT – is used to assign or grant privileges to users...
PHP - Difference between the functions unlink and unset.
Difference between the functions unlink and unset - Unlink is used to delete the file used in the context....
Post your comment