Having just had to look this up, I thought I’d share how I did it. It’s really really easy. 1. Require code sniffer in your project (you are using composer, right?) 2. Run CBF using the DisallowLongArraySyntax sniff That will apply to everything in the current directory, so simply change the . to whichever specific…
Today I learnt (thanks Gary) that array_push() is actually kinda slow and it’s probably better to avoid it in most cases. There’s some (not very detailed but interesting nonetheless) tests in this StackOverflow answer.
This is really interesting – Google is now allowing developers to host PHP applications on its App Engine service. That means that popular software like WordPress, Drupal and phpBB could be hosted very cheaply on Google’s servers. Read Google wants your WordPress blog—and everything else—in its cloud