PHP Classes

Really ?

Recommend this page to a friend!

      PHP Classes blog  >  The Secret PHP Optimi...  >  All threads  >  Really ?  >  (Un) Subscribe thread alerts  
Subject:Really ?
Summary:Really ?
Messages:1
Author:chupamelas
Date:2012-06-19 15:31:20
Update:2012-06-19 15:56:03
 

  1. Really ?   Reply   Report abuse  
Picture of chupamelas chupamelas - 2012-06-19 15:56:03
Few versions ago it was introduced the '&' operator for function's arguments to 'force' the compiler to use a reference instead of a copy (this is very important for 'big' variables).

What I mean is that any improvement is welcomed.

I think that PHP could tend to be as C++ (NO MY GOD !!!, C++ is very ugly !!!). Or could tend to be as Javascript (despite of to be bad typed is used in all navegators and in servers (NodeJS - its core is C++)).

All developers want an easy language to code, very efficient and portable, and can be done everything with it.

About this issue as you say in a comment: "when you use a JIT compiler, those checks happen at compile time, so no performance problems would seem to occur at run time". But if the code is not compiled only 'runned' and the variables typed help the code to run faster is great improvement.