Type hinting in PHP allows the identification of the following variable types: (Choose 2)
Given the following code, what will be the value of $a?
$a = array('a', 'b');
array_push($a, array(1, 2));
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();
?>
Which of the following data types cannot be directly manipulated by the client?
What is the return value of the following code?
strpos("me myself and I", "m", 2)
What is the output of the following code?
echo 0x33, ' monkeys sit on ', 011, ' trees.';
What is the output of the following code: echo "1" + 2 * "0x02";
What method can be used to find a tag with the name "foo" via the DOM extension?
How can the line on which HTTP headers were sent inside a script be determined?
PDF + Testing Engine
|
---|
$57.75 |
Testing Engine
|
---|
$43.75 |
PDF (Q&A)
|
---|
$36.75 |
Zend Free Exams |
---|
|