Problem Statement
Which keyword is used to define a class in PHP?
Explanation
In PHP, the keyword 'class' is used to define a class, and 'new' is used to create an object from that class.
Example:
class Car { public $name; }
$car = new Car();
Code Solution
SolutionRead Only
class Car { public $brand; }
$car = new Car();