Fuck up your PHP by making it only use ()[]@!,.+^
as characters
For an online converter, see https://landviz.nl/fuck
composer require exan/phpfuck
use Exan\PhpFuck\Fucker;
require './vendor/autoload.php';
$fucker = new Fucker();
echo $fucker->fuckCode(<<<PHP
echo "Hello, world!", PHP_EOL;
PHP), PHP_EOL; // roughly 17kb
Exan\PhpFucker\Fucker::fuckInt(int $num)
Return a fucked version of any int
Exan\PhpFucker\Fucker::fuckString(string $input)
Return a fucked version of any(TM) UTF-8 string
Exan\PhpFucker\Fucker::fuckFunction(string $fn, array $args)
Return a fucked version of a function call, args are not automatically fucked
Exan\PhpFucker\Fucker::fuckCode(string $code)
Return a fucked version of code. Input should not have PHP opening/closing tags
(
)
[
]
@
!
,
.
+
^