Which of the following is NOT a valid function declaration?
Answer(s): D
CORRECT TEXTWhat is the output of the following code?function increment (&$val){return $val + 1;}$a = 1;echo increment ($a);echo increment ($a);
Answer(s): A
Which of the following is true about stream contexts? (Choose 2)
Answer(s): A,C
Consider the following code. What can be said about the call to file_get_contents?$getdata = "foo=bar";$opts = array('http' =>array('method' => 'POST', 'header' => 'Content-type: application/x-www-form-urlencoded', 'content' => $getdata));$context = stream_context_create($opts);$result = file_get_contents('http://example.com/submit.php', false, $context);
Answer(s): B
What function can be used to retrieve an array of current options for a stream context?
Answer(s): C
Post your Comments and Discuss Zend 200-550 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the 200-550 content, but please register or login to continue.