b-viguier / PhpFk

Writing PHP with only 5 characters

Home Page:https://b-viguier.github.io/PhpFk/

Repository from Github https://github.comb-viguier/PhpFkRepository from Github https://github.comb-viguier/PhpFk

PhpF**k

This repository contains some functions to rewrite any Php code with only 5 characters (.^9). Inspired from https://github.com/splitline/PHPFuck (and this comment) but updated to work on PHP 8+.

See corresponding article for more details.

Running the code

php ./bin/phpfk.php "<your code>"

To run tests, you have first to composer install dependencies (PhpUnit).

php ./vendor/bin/phpunit ./tests

Running Jekyll

docker run --rm -it  --volume="$PWD:/srv/jekyll" -p 4000:4000 -p 35729:35729 jekyll/jekyll:3.8 jekyll serve --livereload

About

Writing PHP with only 5 characters

https://b-viguier.github.io/PhpFk/


Languages

Language:PHP 100.0%