Is PHP Object-oriented?

后端 未结 7 1588
鱼传尺愫
鱼传尺愫 2021-01-30 03:09

Is PHP an object-oriented language? If not, then what about the framework CakePHP? Is it an object-oriented MVC implementation of PHP?

Also, can a PHP application wholly

7条回答
  •  情书的邮戳
    2021-01-30 03:53

    You will find all of the latest OOP features in PHP from version 5. Before PHP v5, there was PHP v4, which was not fully Object Oriented.

    Also you will find many new & advanced frameworks like the following:-

    • Magento
    • Zend
    • Kohana
    • Symphony
    • CodeIgniter
    • Yii

    These frameworks have some great features & are really powerful in true sense, and some are also programmer-friendly.

    Some notable points:-

    • PHP v5 still does not support Multiple Inheritance.
    • PHP v5 still supports procedural way of coding, so it is still backward compatible for older websites (which had been developed in procedural way using PHP v4).

    Hope it helps.

提交回复
热议问题