PHP code example of phith0n / chip

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

    

phith0n / chip example snippets



eval('echo ' . $_POST['name']);


array_map($function_name, $_POST);


$f($arg);


Chip\Exception\FormatException;
use Chip\ChipFactory;

try {
    $chipManager = (new ChipFactory)->create();
    $alarm = $chipManager->detect(' usort($a, $b);');

    print_r($alarm);
} catch (FormatException $e) {
    echo $e->getMessage();
}

php chip.phar check tests/cases/

php chip.phar check tests/cases/ -r html -o report.html