PHP code example of kingzcheung / console-php
1. Go to this page and download the library: Download kingzcheung/console-php 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/ */
kingzcheung / console-php example snippets
use kingzcheung\Console;
$data1 = "This is a test";
$data2 = [[1,2,3,['a'=>true]]];
Console::log($data1);
Console::log($data1,$data2);
Console::json($data2);
Console::table($data2);