bugfix: another patch for php5.4
Merge pull request #246 from reallyenglish/mitsuruy

bugfix: another patch for php5.4