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();
?>
What can prevent PHP from being able to open a file on the hard drive (Choose 3)?
What is the output of the following code?
What SimpleXML function is used to parse a file?
What function should be used to escape command line arguments that are passed to commands executed from PHP?
What PHP function can be used to remove a local file?
Which of the following statements are correct? (Choose 2)
What is the difference between "print" and "echo"?
What DOM method is used to load HTML files?
Can calls to Web Services be queued natively in PHP?