Jan 04
Last few weeks I am doing a lot of programming and I am getting sick of constantly writing array(…) to make an array. This is the data type which I use probably the most. From database result sets to function parameters. And you have to write this array word every time again and again. Boring and waste of time and keystrokes.
What PHP needs? It needs simple way to define an array - [like, this, way]. Simple squared brackets should be enough. It is done similarly in Ruby and despite I stopped using it, this is the think I really miss.
