Results 1 to 3 of 3

Thread: [RESOLVED] PHP and executables

  1. #1

    Thread Starter
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Resolved [RESOLVED] PHP and executables

    wossy had just said in another thread that he programs with PHP...

    Is it possible to get a fully functioning executable out of php, or does it have to be on a web server, "doing things" (I know, how vague can you get, eh?).
    Or is it possibly you have to run it through some kind of interpeter on the computer (offline - not connected to the internet)?

    I'm just curious that's all.

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: PHP and executables

    You can make command line applications in PHP but they're still interpreted.

    If you want to boost performance you can use an opcode cache. This changes the execution model from interpretation to JIT-compilation, more like Java or .NET. These are generally used on web servers.

    Some people have made compilers for PHP. There is no official one.

  3. #3

    Thread Starter
    Fanatic Member kregg's Avatar
    Join Date
    Feb 2006
    Location
    UK
    Posts
    524

    Re: PHP and executables

    OK then. Cheers for the info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width