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
-
3First 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.Daniel– Daniel2012-08-27 08:32:44 +00:00Commented Aug 27, 2012 at 8:32
-
@Daniel I was just giving an example.A compiler performs many more optimizations.Ya I do use eclipse.rohitnaidu19– rohitnaidu192012-08-27 08:36:23 +00:00Commented Aug 27, 2012 at 8:36
Add a comment
|