split classes
add minfo section
add limits.h
use php_error_docref instead of fprintf error message.