Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo?
Which one of the following can be used to instantiate an object in PHP assuming class name to be Foo? Correct Answer $obj = new foo ();
To create a new object in PHP we can use the new statement to instantiate a class.