Quiz · Files, namespaces and Composer · lesson 3 of 7
Quiz — require and \Exception
Question 1 of 2
What does the program print?
<?php
namespace App;
try {
throw new \RuntimeException('x');
} catch (Exception $e) {
echo 'app';
} catch (\Exception $e) {
echo 'global';
}
echo "\n";