0

For a website in PHP I was searching Php compilers(I know it is parsed).Could'nt find any except HIPHOP from Facebook.I'm not talking about conversion to binary,I am interested in the optimization tasks a compiler performs so that I can optimize my PHP.Like removing extra variables,unused variables,statements inside loops,optimize expressions etc. Are there any such programs available?

2
  • 3
    First of all, why would you declare variables that are unused? I would suggest that you use an IDE like Netbeans or Eclipse that will highlight any variables that are currently unused. Commented Aug 27, 2012 at 8:32
  • @Daniel I was just giving an example.A compiler performs many more optimizations.Ya I do use eclipse. Commented Aug 27, 2012 at 8:36

1 Answer 1

1

It seems you are searching for PHP optimizers like APC, eAccelerator, Zend Optimizer and others and not for a compiller

Sign up to request clarification or add additional context in comments.

1 Comment

No,I am not talking bout APCs,I am just talking bout local code enhancement using a tool like a compiler.APCs cant perform most of the tasks a compiler can.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.