Found 4.1.6
Code:
------------------------------------------------
phpCompile v2 Beta 4.1.6 :: PHP Version : 5.2.1
Written by Joe Watkins - interviolet.com
Thanks to Rubem Pechansky - winbinder.org
------------------------------------------------
------------------------------------------------
Parameters Description
------------------------------------------------
-main -m Main script [ required ]
-project -p Project sources [ optional ]
-include -I Include directory [ optional ]
-add -a Include file [ optional ]
-output -o Output EXE [ optional ]
-ext -e Include DSO [ optional ]
-bcompile -b Compile [ optional, wilcards ]
-ico Icon [ optional ]
-ignore -i Ignore [ optional, wilcards ]
-subsystem Set subsystem [ optional ]
-w Windows subsystem [ optional ]
-c Console subsystem [ optional ]
------------------------------------------------
------------------------------------------------
First Arg Output
------------------------------------------------
-iv phpCompile version
-ie PHP version
-ic Constants list
-if Functions list
-io Classes list
-ix DSO list
------------------------------------------------
------------------------------------------------
phpCompile (c) Joe Watkins 2007 - 2017
PHP (c) 1999 - 2006 The PHP Group
------------------------------------------------
Some example usage :
phpCompile -c -m=myscript.php
Will pack myscript.php into a console executable by itself named myscript.exe
phpCompile -w -p=ProjectSources -m=ProjectMain.php
Will pack all files in ProjectSources into an executable named ProjectMain.exe
with ProjectMain.php as main script
phpCompile -m=myscript
Will pack myscript.php(w) into a console executable by itself named myscript.exe
phpCompile -m=myscript -I=C:\winbinder\phpcode\include -w
Will pack all of winbinders includes, so you can include( 'winbinder.php' );
and set the main script to myscript.php(w) in an executable named myscript.exe using
the windows subsystem
phpCompile -m=myscript -a=C:\snippets\mysnippet.php
Will make an exe named myscript.exe, set main to myscript.php(w) and include mysnippet.php
so you can include('mysnippet.php');
phpCompile -p=myproject -i=*.bmp -m=main
Will make an exe named main.exe, set the main script to main.php(w), all files from myproject
will be packed into the exe, except for those mathing .bmp
Notes :
You may omit .php or .phpw from your main script, phpCompile will search for .php first then .phpw
If you specify a project directory, your main script is expected to be found inside that directory
You can use (almost) any extension compatiable with php-5.2.1, download the windows binaries from php.net
Parameters you can use more than once per operation :
-include -I
-add -a
-ignore -i
-ext -e
-bcompile -b
About -add :
Files you specify here will be available in your executable at the "root" of the php source structure, so for example
if you add C:\snippets\highlight_c_source.php you can access it in your scripts with include( 'highlight_c_source.php' );
About -include :
Directories you specify here will be packed into the executable recursively, the same as -project directory, only you can
use as many as you want, paths will be relative to the -include
About -bcompile :
You can enter as many patterns as you want to match files while packing, if a filename matches this pattern
the file will be written as bytecodes, alternatively to pack anything that the compiler can see as php ( ie
anything that begins with <? ) specify -b|bcompile=all at the command line
About -output :
You should steer clear of attempting to output the executable in the same directory structure as the source
for the executable.
If the file you specify at command is not writable, phpCompile will try another name, but only once
so be careful when specifying the path and location of the executable.
About -ext :
Extensions can be anywhere on your filesystem, you should be able to load most any of them from the internal
loader, you should NOT attempt to use dl() in your programs
As of now, that's it folks, be back soon, and for god sake report bugs.
Forever coding krakjoe........
download from interviolet.com
Bookmarks