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?
What is the function of backtick (`) characters in PHP?
What is the function of backtick (`) characters in PHP?
Which constant must be passed as the second argument to htmlentities() to convert single quotes (‘) to H
Which constant must be passed as the second argument to htmlentities() to convert single quotes
(‘) to HTML entities?
which access modifier in PHP 5 is equivalent to "var"?
You want to run the following PHP 4 code with PHP 5. In the following example, which access
modifier in PHP 5 is equivalent to “var”?
classTest {
var$tester;
}
Which function do you apply to the text, when displaying it?
You want to allow your users to submit HTML code in a form, which will then be displayed as real
code and not affect your site layout. Which function do you apply to the text, when displaying it?
(Choose 2)
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
classCar {
var$model;
functionCar($model) {
$this->model = $model;
} function toString() {
return”I drive a $this->model.”;
}}
$c = new Car(‘Dodge’);
echo$c->toString();
?>
</code>
Which of the following statements about PHP is true?
Which of the following statements about PHP is true? (Choose 3)
a) A final class can be derived.
b) A final class may be instantiated.
c) A class with a final function may be derived.
d) Static functions can be final.
e) Properties can be final.
Webservicesare primarily meant to support?
Webservicesare primarily meant to support?
What is the result of the following bitwise operation in PHP?
What is the result of the following bitwise operation in PHP?
1 ^ 2