This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Thanks to Fabien Potencier and Dariusz Rumiński for the original version of this file which I have modified | |
| * to run friendsofphp/php-cs-fixer from code. | |
| * | |
| * (c) Fabien Potencier <fabien@symfony.com> | |
| * Dariusz Rumiński <dariusz.ruminski@gmail.com> | |
| * | |
| * This source file is subject to the MIT license that is bundled |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Credit to https://github.com/filp/whoops | |
| /** | |
| * Whoops - php errors for cool kids | |
| * @author Filipe Dobreira | |
| */ | |
| namespace Whoops\Handler; | |
| use Whoops\Exception\Inspector; | |
| use Whoops\RunInterface; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Credit to https://github.com/bugsnag/bugsnag-php | |
| namespace Bugsnag; | |
| class Handler | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace This\Is\A\Long\Name_Space; | |
| echo '<span style="text-decoration: underline;">Demo the effect of namespaces on fully qualified class names</span>'; | |
| class handler{} | |
| // Post the fully qualified name of the handler class defined in this namespace | |
| echo "<br><br><HR>".handler::class."<br>"; | |
| namespace Short\Name_Space; | |
| class handler{} | |
| // Post the fully qualified name of the handler class defined in this namespace |