php 5.4 compat
remove old doc
Merge pull request #252 from will123195/3.0

php 5.4 compat