How many times will the function counter() be executed in the following code?
How many times will the function counter() be executed in the following code?
<code>
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
} counter($start–, ++$stop);
}
$start = 5;
$stop = 2;
counter($start, $stop);
</code>
When a class is defined as final it:
When a class is defined as final it:
Which of the following can be registered as entry points with a SoapServer instance (choose 3)
Which of the following can be registered as entry points with a SoapServer instance (choose 3)
What DOMElement method should be used to check for availability of a non-namespaced attribute?
What DOMElement method should be used to check for availability of a non-namespaced
attribute?
Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by value in PH
Which of the following data types is implicitly passed by reference in PHP 5 while it is passed by
value in PHP 4?
What is the content of $c after the following code has executed?
What is the content of $c after the following code has executed?
<code>
$a = 2;
$b = 3;
$c = ($a++ * ++$b);
</code>
What does that mean?
You analyze the code of a collegue and see, it uses the function strcasecmp. You try it out to see
what it does and use the following function call:
<code>
strcasecmp(‘hello my dear!’, ‘Hello my DEAR!’);
</code>
The function call returns “0”. What does that mean?
REST is a(n) …
REST is a(n) …
What is the output of the following code?
What is the output of the following code?
<code>
echo 0x33, ‘ monkeys sit on ‘, 011, ‘ trees.’;
</code>
What is the output of the following code?
What is the output of the following code?
<code>
class test {
public $value = 0;
function test() {
$this->value = 1;
} function __construct() {
$this->value = 2;
}}
$object = new test();
echo $object->value;