Which of the listed changes would you make to the following PHP 4 code in order to make it most compliant with PHP 5? (Choose 2)
class Car {
var $model;
function Car($model) {
$this->model = $model;
} function toString() {
return "I drive a $this->model.";
}}
$c = new Car('Dodge');
echo $c->toString();
?>
How many array elements will be found in the return value of:
split(".", "
How can the line on which HTTP headers were sent inside a script be determined?
What is the output of the following code?