PHP code example of clean / phpatlas

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

    

clean / phpatlas example snippets


use Clean\PhpAtlas\ClassMethod;

$method = new ClassMethod('ArrayIterator::count');

echo $method->getMethodShortDescription(); // e.g. "Count elements"
echo $method->getMethodPHPDocLink();       // https://www.php.net/manual/en/arrayiterator.count.php

// for standalone functions
$function = new ClassMethod('explode');
echo $function->getMethodPHPDocLink(); // https://www.php.net/manual/en/function.explode.php