Implementation of PhpExecutor, NOT FINISHED