This project implements a ZEP to PHP translator.
The initial goal of this project, was to be able to create a PHP Version of PHALCON, so that I could debug and discover, in depth, the workings of PHALCON.
This project, combined with the PHALCON Debug Extension project has allowed me to finally Xdebug PHALCON.
DISCLAIMER: I use Ubuntu 14.04 as my development OS. I have not tried building this on any other Linux Distribution or Windows.
NOTE: use git clone --recursive, to clone the zep-to-php repository, as this will also bring in clones of the the other repositories (dependencies), that contain files, I use to build zeptophp.
You will need, working:
- ZEPHIR last version tested was 0.8.x
NOTE: You actually don't need ZEPHIR working, you need the json-c library to be installed (the ZEPHIR Parser uses it to build it's intermediate files). You can use the install-json from the ZEPHIR Project to build this library.
This should basically work on any Linux Distribution:
./installor if you want to run tests agains the ZEP files included with ZEPHIR:
./install -t** NOTE:** This adds a symlink zeptophp to your user's bin directory ~/bin, if it exists. Otherwise you can use ./bin/zeptophp to run the translator.
If you have:
- A bin in the root of your user's home directory ~/bin , and
- It's part of your PATH
then running the translator is as simple as
zeptophp ...path to extension's zep files...
If not, then use the zeptophp under the bin directory from where you ran ./install.