You can create an object in PHP by using the new keyword followed by the class name like $object = new ______.
- ClassName
- ObjectName
- NewObject
- CreateObject
In PHP, you can create an object by using the new keyword followed by the class name and parentheses. The correct option is "ClassName." This syntax instantiates an object of the specified class. For more information, consult the PHP documentation on creating objects: http://php.net/manual/en/language.oop5.php
Loading...