Changeset 548 for trunk/utils.c
- Timestamp:
- 2008-03-21T15:36:17+01:00 (5 years ago)
- File:
-
- 1 edited
-
trunk/utils.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/utils.c
r545 r548 500 500 ZESW(&stored_ce_ptr, NULL) 501 501 ); 502 #ifndef ZEND_COMPILE_DELAYED_BINDING 502 503 if (oplineno != -1) { 503 504 xc_do_early_binding(CG(active_op_array), CG(class_table), oplineno TSRMLS_CC); 504 505 } 506 #endif 505 507 } 506 508 else if (zend_u_hash_quick_add(CG(class_table), type, key, len, h, … … 673 675 #endif 674 676 677 #ifdef ZEND_COMPILE_IGNORE_INTERNAL_CLASSES 678 sandbox->orig_compiler_options = CG(compiler_options); 679 /* Using ZEND_COMPILE_IGNORE_INTERNAL_CLASSES for ZEND_FETCH_CLASS_RT_NS_CHECK 680 */ 681 CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES | ZEND_COMPILE_DELAYED_BINDING; 682 #endif 683 675 684 XG(sandbox) = (void *) sandbox; 676 685 return sandbox; … … 728 737 729 738 if (install != XC_InstallNoBinding) { 739 #ifdef ZEND_COMPILE_DELAYED_BINDING 740 zend_do_delayed_early_binding(CG(active_op_array) TSRMLS_CC); 741 #else 730 742 xc_undo_pass_two(CG(active_op_array) TSRMLS_CC); 731 743 xc_foreach_early_binding_class(CG(active_op_array), xc_early_binding_cb, (void *) sandbox TSRMLS_CC); 732 744 xc_redo_pass_two(CG(active_op_array) TSRMLS_CC); 745 #endif 733 746 } 734 747 … … 805 818 } 806 819 #endif 820 821 #ifdef ZEND_COMPILE_IGNORE_INTERNAL_CLASSES 822 CG(compiler_options) = sandbox->orig_compiler_options; 823 #endif 824 807 825 if (sandbox->alloc) { 808 826 efree(sandbox);
Note: See TracChangeset
for help on using the changeset viewer.

