fix a bug

fix a bug
Merge pull request #54 from wenjun1055/patch-2

Fixed bug (typo)
Update README.md
make code better

make code better
Merge pull request #59 from wenjun1055/master

make code better
Merge branch 'master' of https://github.com/laruence/php-yaf