Which of the listed changes would you make to the following PHP 4 code in order to make it most compliant with
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)
<code>
<?php
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();
?>
</code>
Which methods can be used to overload object properties?
Which methods can be used to overload object properties? (Choose 2)
What super-global should be used to access information about uploaded files via a POST request?
What super-global should be used to access information about uploaded files via a POST
request?