What is the output of the following code?function append($str){$str = $str.'append';}function prepend(&$str){$str = 'prepend'.$str;}$string = 'zce';append(prepend($string));echo $string;
Answer(s): C
CORRECT TEXTWhat is the output of the following code?function increment ($val){$val = $val + 1;}$val = 1;increment ($val);echo $val;
Answer(s): A
CORRECT TEXTWhat is the output of the following code?function increment ($val){++$val;}$val = 1;increment ($val);echo $val;
CORRECT TEXTWhat is the output of the following code?function increment ($val){$_GET['m'] = (int) $_GET['m'] + 1;}$_GET['m'] = 1;echo $_GET['m'];
Post your Comments and Discuss Zend 200-550 exam with other Community members:
To protect our content from bots for real learners like you, we ask you to register for free. Sign in or sign up now to continue with the 200-550 material!