Results 1 to 4 of 4

Thread: Compiler for PHP

  1. #1
    Join Date
    Oct 2008
    Posts
    36

    Compiler for PHP

    Hello firends !

    I would compile my file php under under Linux and in windows xp.
    Have you got an idea of this? something free would be nice.

    Thanks for any help.

  2. #2
    Join Date
    Mar 2008
    Posts
    198

    Re: Compiler for PHP

    Try phc

    phc is an open source compiler for PHP with support for plugins. In addition, it can be used to pretty-print or obfuscate PHP code, as a framework for developing applications that process PHP scripts, or to convert PHP into XML and back, enabling processing of PHP scripts using XML tools.

    phc for PHP programmers :

    • Compile PHP source into an (optimized) executable (supports entire PHP standard library).
    • Compile a web application into an (optimized) extension (supports entire PHP standard library).
    • Pretty-print PHP code.
    • Obfuscate PHP code (--obfuscate flag - experimental).
    • Combine many php scripts into a single file (--include flag - experimental).
    • Optimize PHP code using classical compiler optimizations (in the dataflow branch - very experimental).



    phc for tools developers (See Developers and Contributors):

    • Analyse, modify or refactor PHP scripts using C++ plugins.
    • Convert PHP into a well-defined XML format, process it with your own tools, and convert it back to PHP.
    • Operate on ASTs, simplified ASTs, or 3-address code.
    • Analyse or optimize PHP code using an SSA-based IR (in the dataflow branch - very experimental).


    The latest phc version is phc-0.2.0.3.tar.gz

    More

  3. #3
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Compiler for PHP

    There is "zend encoder" to compile php page, but it's have a high price.

  4. #4
    Join Date
    May 2008
    Posts
    2,389

    Re: Compiler for PHP

    Go to www.php.net and go to download section , its absolutely free and open source.

Similar Threads

  1. Which is the best C++ Compiler
    By Ambak in forum Polls & Voting
    Replies: 7
    Last Post: 20-01-2012, 11:39 AM
  2. JIT compiler for .NET platform
    By VAIJAYI in forum Software Development
    Replies: 6
    Last Post: 17-01-2011, 11:11 PM
  3. C++ compiler for Windows 7
    By Shahaka in forum Windows Software
    Replies: 5
    Last Post: 18-09-2010, 10:39 PM
  4. What is the PHP bytecode Compiler?
    By PsYcHo 1 in forum Software Development
    Replies: 5
    Last Post: 09-03-2010, 05:48 AM
  5. Best C Compiler
    By kyosang in forum Software Development
    Replies: 3
    Last Post: 30-12-2009, 09:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,385,766.67483 seconds with 16 queries