Remove php 5.4 function array dereferencing.

Removed php 5.4 function array dereferencing in order to maintain
compatibility with php 5.3.