Is PHP Object-oriented?

后端 未结 7 1414
鱼传尺愫
鱼传尺愫 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:57

    PHP is not fully object oriented but it supports some feature like

    1) class
    2) object
    3) Constructors and Destructors
    4) Object Inheritance
    5) Scope Resolution Operator (::)

    and many more. If you want to learn object oriented php refer the below reference link

    1) http://php.net/manual/en/language.oop5.php

    0 讨论(0)
提交回复
热议问题