Depending on outstanding technology, much better services for customers. Ucertify provide 24 hour customer support with regard to Zend Technologies examinee and you may get what you would like realize whenever you want. The satisfaction of our own 200-550 is actually our services objective, their shared advancement together with consumers is actually our persistent goal inside a large part. Thus please dont hesitate to contact all of us if you have any questions associated with 200-550 exam.
2021 Jul 200-550 exams
Q121. When using password_hash() with the PASSWORD_DEFAULT algorithm constant, which of the following is true? (Choose 2)
A. The algorithm that is used for hashing passwords can change when PHP is upgraded.
B. The salt option should always be set to a longer value to account for future algorithm requirements.
C. The string length of the returned hash can change over time.
D. The hash algorithm that's used will always be compatible with crypt() .
Answer: A,C
Q122. Given a php.ini setting of default_charset = utf-8
what will the following code print in the browser? header('Content-Type: text/html; charset=iso-8859-1'); echo '✂✔✝'
A. Three Unicode characters, or unreadable text, depending on the browser
B. ✂✔✝
C. A blank line due to charset mismatch
Answer: A
Q123. Consider the following code. What change must be made to the class for the code to work as written?
class Magic {
protected $v = array("a" => 1, "b" => 2, "c" => 3); public function get($v) {
return $this->v[$v];
}
}
$m = new Magic();
$m->d[] = 4;
echo $m->d[0];
A. Nothing, this code works just fine.
B. Add set method doing $this->v[$var] = $val
C. Rewrite get as: public function get(&$v)
D. Rewrite get as: public function & get($v)
E. Make get method static
Answer: D
Q124. In the following code, which classes can be instantiated?
abstract class Graphics { abstract function draw($im, $col);
}
abstract class Point1 extends Graphics { public $x, $y;
function construct($x, $y) {
$this->x = $x;
$this->y = $y;
}
function draw($im, $col) { ImageSetPixel($im, $this->x, $this->y, $col);
}
}
class Point2 extends Point1 { }
abstract class Point3 extends Point2 { }
A. Graphics
B. Point1
C. Point2
D. Point3
E. None, the code is invalid
Answer: C
Q125. An object can be counted with count() and sizeof() if it...
A. implements ArrayAccess
B. has a public count() method
C. was cast to an object from an array
D. None of the above
Answer: D

Abreast of the times 200-550 free exam:
Q126. An HTML form has two submit buttons. After submitting the form, how can you determine with PHP which button was clicked?
A. An HTML form may only have one button.
B. You cannot determine this with PHP only. You must use JavaScript to add a value to the URL depending on which button has been clicked.
C. Put the two buttons in different forms, but make sure they have the same name.
D. Assign name and value attributes to each button and use $_GET or $_POST to find out which button has been clicked.
Answer: D
Q127. Which PHP function retrieves a list of HTTP headers that have been sent as part of the HTTP response or are ready to be sent?
A. header()
B. headers()
C. headers_list()
D. headers_sent()
E. getresponseheaders()
Answer: C
Q128. Which constant must be passed as the second argument to htmlentities() to convert single quotes (') to HTML entities?
A. TRUE
B. FALSE
C. ENT_QUOTES
D. ENT_NOQUOTES
E. ENT_COMPAT
Answer: C
Q129. What will be the result of the following operation? array_combine(array("A","B","C"), array(1,2,3));
A. array("A","B","C",1,2,3)
B. array(1,2,3,"A","B",C")
C. array("A"=>1,"B"=>2,"C"=>3)
D. array(1=>"A",2=>"B",3=>"C")
E. array(1,2,3)
Answer: C
Q130. How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop > $start)
{
return;
}
counter($start--, ++$stop);
}
$start = 5;
$stop = 2; counter($start, $stop);
A. 3
B. 4
C. 5
D. 6
Answer: C