1. Go to this page and download the library: Download kuria/debug library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
try {
// some code which may throw an exception
throw new \Exception('Initial exception');
} catch (\Exception $exception) {
// handle the exception
try {
// some elaborate exception-handling code which may also throw an exception
throw new \Exception('Exception-handler exception');
} catch (\Exception $additionalException) {
// the exception-handling code has crashed
// join exception chains
Exception::joinChains($exception, $additionalException)
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.