PHP code example of exan / phpfuck

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

    

exan / phpfuck example snippets


use Exan\PhpFuck\Fucker;


echo $fucker->fuckCode(<<<PHP
    echo "Hello, world!", PHP_EOL;
PHP), PHP_EOL; // roughly 17kb

Exan\PhpFucker\Fucker::fuckInt(int $num)

Exan\PhpFucker\Fucker::fuckString(string $input)

Exan\PhpFucker\Fucker::fuckFunction(string $fn, array $args)

Exan\PhpFucker\Fucker::fuckCode(string $code)