How will you create objects in PHP?

Submitted by: Administrator
Once you defined your class, then you can create as many objects as you like of that class type. Following is an example of how to create object using new operator.

$physics = new Books;
$maths = new Books;
$chemistry = new Books;
Submitted by:

Read Online Sr. PHP Programmer Job Interview Questions And Answers