解压到
E:\tools\DeZender\Dezender
修改php5配置文件 (php.ini)
E:\tools\DeZender\Dezender\PHP5\PHP5\php.ini
==========php.ini===========
zend_extension_manager.optimizer_ts="E:\tools\Dezender\Dezender\Zend for PHP5\Zend for PHP5\Optimizer-3.3.0\"
zend_extension_ts="E:\tools\Dezender\Dezender\Zend 3.2 cracked\Zend\ZendExtensionManager.dll"
==================================
把需要编译的文件copy to E:\tools\DeZender\Dezender\PHP5\PHP5
php.exe main.func.php -c /tab /indent:1 /path:beifen
好了 这个时候在“E:\tools\DeZender\Dezender\PHP5\PHP5\beifen”目录下生成 main.func.de.php 就是正常的文件.
dezend下载地址:
http://pan.baidu.com/s/1pJlu0Td
关于批量反编译的方法(未验证):
方法一:
for /R %a in (*.php) do php -c c:\dezender %a
方法二:
fragment.batset filename=tcdezender.bat@echo off
set oldypath=%PATH%
path=%PATH%;c:\DeZenders\PHP5
path=%PATH%;c:\DeZenders\source
set PHP_DECODE_ROOT = c:
dir /s /b c:\DeZenders\source\*.php > filelist.txt
call main.batmain.bat@echo off
:START
copy fragment.bat + filelist.txt temp.txt > nul
type temp.txt | find “set filename=” > temp.bat
echo call process.bat >> temp.bat
call temp.bat
type temp.txt | find /v “set filename=” > filelist.txt
copy filelist.txt nul | find “0″ > nul
if errorlevel 1 goto START
process.bat@echo off
echo Processing “%filename%”
if %filename% == “” goto :end
php.exe -c c:\DeZenders\PHP5 “%filename%” /noexpire /replace
:end