Zend 200-530 Question Answer
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();
?>
Zend 200-530 Summary
- Vendor: Zend
- Product: 200-530
- Update on: Jul 25, 2025
- Questions: 254