Change bools to zend_bool, remove ecalloc, remove unnecessary pointers