PHP code example of fmihel / console-log

1. Go to this page and download the library: Download fmihel/console-log 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/ */

    

fmihel / console-log example snippets



mihel\console;

console::log('Can out array',[1,2,3,4]);

try{
    
    throw new \Exception('generate error');

}catch(\Exception $e){
    console::error($e);
};

>