I’m lookin’ for a Phix!
Well, try lookin’ in the SVN repos
Mailing list can be found here: http://groups.google.co.uk/group/phix-dev/
Phix, or Personal Hyper Interpreting Xylometer for short is an attempt to inform the world about useless cat facts. (and perhaps one day be a replacement for PHP...)
Phix is being developed by Theo Zourzourvillys and Ian P. Christian
Phix is at attempt to offer a sensible, secure, heavily optimised replacement to PHP. although a replacement, it is not a clone.
In it’s current state, Phix runs most PHP code out of the box without any alteration in what we call compatibility mode. Compatibility mode provides an environment that most PHP scripts/applications that work with PHP 5.2 will function in without modification.
Once you are comfortable with using Phix, you can break free from PHP‘s “it’ll break backward compatibility” and “Keep it really simple”, and start to harness the power of Phix:
In short, Phix is an attempt to create a more “professional” PHP, and although not our primary objective, we’ll try and cater for the less experienced developers too.
Note however that Phix is different from PHP in the way it works internally, as it is a compiler and virtual machine rather than an interpreter, and as such may not be a replacement under certain conditions:
However obviously there are some major advantages to doing things the way we do:
$ cat ./test.php <?php echo 1 + 2 + 3 * 4 / 2, "\n"; echo (1 + 2) + 3 * 4 / 2, "\n"; echo 1 + 2 + (3 * 4) / 2, "\n"; echo 1 + 2 + 3 * 4 * 2, "\n"; echo 1 + 2 + 3 * 4 + 2, "\n"; echo 1 + 2 + 3 * 4 % 2, "\n"; $ time php test.php 9 9 9 27 17 3 real 0m0.095s user 0m0.036s sys 0m0.060s $ time ./phix test.php 9 9 9 27 17 3 real 0m0.029s user 0m0.024s sys 0m0.004s
Yes, it looks like PHP, because... well, it is. That’s the idea behind the project!