Correct Answer: $e->getMessage();
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP MCQ Questions
What is the new feature added in PHP 5.4.0 ?
var_dump(0123 == 123); var_dump('0123' == 123); var_dump('0123' === 123);
Function to escape strings for MySQL in PHP 5.5 and later?
What's the output ? echo '1'.print(3)+3;
Which result will produce this code? class A { private $property = 1; public function getProperty() { return $this->property; } } class B extends A { protected $property = 2; public function __construct($v) { $this->property = $v; } } class C extends B { public $property = 3; } $c = new C(4); echo $c->property; echo $c->getProperty();
What's the output. $arr = 'a'; $arr[0]='b'; echo $arr; echo $arr[0];
$sweet = array('1' => 'apple', '2' => 'banana'); $fruits = array('delicious' => $sweet, 'sweet' => 'strawberry'); function myprint($item, $key) { echo '$key is $item\n'; } array_walk_recursive($fruits, 'myprint'); In above code, what is the output?
Which function can be used to rename files?
Difference between idate and date function?
Which function will list files and directories inside the specified path?