I want to know what are the correct and the most two common way to start and finish a PHP block of code? Is multiple inheritance supported in PHP? Please elaborate your answer.
peterlee1768 wrote:I want to know what are the correct and the most two common way to start and finish a PHP block of code?
I want to know what are the correct and the most two common way to start and finish a PHP block of code?
Refer to the PHP manual: PHP tags
peterlee1768 wrote:Is multiple inheritance supported in PHP?
Is multiple inheritance supported in PHP?
No, but you should look into object interfaces and traits if you want to do the kind of things that are normally done with multiple inheritance.
Why the two most common ways in particular?
Interview questions?
Homework or interview questions sounds like to me.
Edit: But laser pointed you to all the info you should need no matter why you're asking.
Thanks a lot laserlight.
yes of-course Derokorian...
If you are expert of php then you should always rely on using these two methods for sure.