Correct Answer: int(12)
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP 5 Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP 5 MCQ Questions
You need to keep an eye on the existing number of objects of a given class without introducing a non-class member variable. Which makes this happen?
Which is not supported in PHP5?
We have two variable definitions: 1. 023 2. x23 Choose the correct options:
Which is correct about the following snippet? function example() { foreach (range(5, 7) as $a){yield; } } var_dump(iterator_to_array(example())); ?>
What is the correct output? interface exp1 { const c = } echo exp1 ::c; class exp2 implements exp1 { const c = 'Second Example'; } echo exp2::c; ?>
Output of this code. function test(&$var) { $var=$var-1; return $var; } $returnVar = test(50); echo $returnVar. ' is answer.';
What will be the result of code ? $a = 0 or 1; $b = 0 || 1; echo '$a, $b';
Output in following codes? 'green', 'red', 'blue'); $array2 = array('b' => 'green', 'yellow', 'red'); $result = array_intersect($array1, $array2); print_r($result); ?>
Output of the next code? : $someString = 1.2e3; var_dump(strlen($someString));
Key casts in arrays. What is the resulting array $a = array( 1 => 'John', '1' => 'Doe', 1.5 => 'Jane', true => 'Smith', );