PHP is getting some pretty nice feature on each new release.
However most of the versions provided by the hosting providers don’t perfectly align with the evolution of the language.
In this situation you should really take care on how you write your code!
One example?
Function array dereferencing or if you prefer:
foo()[0]
You like it eh 😉
Unfortunately this is available only up from version 5.4.0.
If you’re handling some projects that are hosted on servers shipping an older version of the one over mentioned 5.4.0 think twice before start doing what you like 😛
P.S: self experienced 😉
Leave a Reply