Zend Related Exams
200-550 Exam
What will the $array array contain at the end of this script?
function modifyArray (&$array)
{
foreach ($array as &$value)
{
$value = $value + 1;
}
$value = $value + 2;
}
$array = array (1, 2, 3);
modifyArray($array);
What function can be used to retrieve an array of current options for a stream context?
Which of the following is NOT possible using reflection?