PHP code example of lemmon / cl

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

    

lemmon / cl example snippets




mp any variable to console
$data = ['hello' => 'world'];
cl($data);

// Dump multiple values in one call
cl($data, new stdClass(), 42);

// Use inline: cl() returns the dumped value
$result = cl(calculate());

// Works with any PHP type
cl(new stdClass());
cl(42);
cl("Hello World");