Php-obfuscator is a project mainly written in PHP, it's free.
PHP Obfuscator
This script is in it's very beginning stages. Report any bugs you may find.
Refer to 'examples.php' included with the script.