Correct Answer: 5.4
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
Which subversion of PHP5 adds short array syntax?
If the method is an abstract, class must be:
Difference between a method declared as static and a normal method?
What is the name of default class for all classes
How to install pecl extensions?
$example = function($x) { return $x * 3; }; $num = range(2, 6); $new_num = array_map($example, $num); print implode( )?>
$x = 'New '; $y = $x . 'Example '; echo $y; $x = 'New '; $x .= 'Example '; echo $x; ?>
class Example_Exp extends Exception {} class Check { public function checking() { try { try { throw new Example_Exp( } catch (Example_Exp $ex) { throw $ex; } } catch (Exception $ex) { var_dump($ex->getMessage()); } } } $bar = new check; $bar->checking(); ?>
Which of the following conditions must be followed by functions that are declared with void as their return type? i) Omit their return statement. ii) Use an empty return statement.
$x = array('x' => 'Adam', 'y' => 'Binca'); $y = array('x' => 'Avin', 'y' => 'Beth', 'z' => 'Chris'); $z = $y + $x; $x += $y; var_dump($x); ?>