fix result_types.feature failing on php5.5

The travis build failed because of an unexpected php Notice on php5.5 
Merge pull request #274 from muhqu/patch-1

fix result_types.feature failing on php5.5