Want to pass your Zend Certified Engineer 200-710 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
FILL BLANK
Which PHP function sets a cookie and URL encodes its value when sending it to the browser?
CORRECT TEXT
Consider the following code:
$result = $value1 ??? $value2;
Which operator needs to be used instead of ??? so that $result equals $value1 if $value1 evaluates to true, and equals $value2 otherwise? Just state the operator as it would be required in the code.
Which of the following PHP functions can be used to set the HTTP response code? (Choose 2)
A. header_add()
B. header()
C. http_set_status()
D. http_response_code()
E. http_header_set()