fix for php5.3
rename variable
Merge pull request #1 from solidpeat/fix-for-php5.3

fix for php5.3