Support php-5.3.29. Added more documentation.