| 669 | | #ifdef ZEND_ENGINE_2_1 |
|---|
| 670 | | #ifdef INCLUDE_DOC_COMMENTS |
|---|
| 671 | | if (from->doc_comment != NULL) { |
|---|
| 672 | | to->doc_comment = emalloc(from->doc_comment_len + 1); |
|---|
| 673 | | memcpy(to->doc_comment, from->doc_comment, from->doc_comment_len + 1); |
|---|
| 674 | | } |
|---|
| 675 | | #else |
|---|
| 676 | | to->doc_comment_len = 0; |
|---|
| 677 | | to->doc_comment = NULL; |
|---|
| 678 | | #endif |
|---|
| 679 | | #ifdef ZEND_ENGINE_2_2 |
|---|
| 680 | | to->ce = EAG(class_entry); |
|---|
| 681 | | #endif |
|---|
| | 669 | # ifdef ZEND_ENGINE_2_1 |
|---|
| | 670 | # ifdef INCLUDE_DOC_COMMENTS |
|---|
| | 671 | if (from->doc_comment != NULL) { |
|---|
| | 672 | to->doc_comment = emalloc(from->doc_comment_len + 1); |
|---|
| | 673 | memcpy(to->doc_comment, from->doc_comment, from->doc_comment_len + 1); |
|---|
| | 674 | } |
|---|
| | 675 | # else |
|---|
| | 676 | to->doc_comment_len = 0; |
|---|
| | 677 | to->doc_comment = NULL; |
|---|
| | 678 | # endif |
|---|
| | 679 | # ifdef ZEND_ENGINE_2_2 |
|---|
| | 680 | to->ce = EAG(class_entry); |
|---|
| | 681 | # endif |
|---|
| | 682 | # endif |
|---|