Changeset 862
- Timestamp:
- 2012-03-29T05:22:46+02:00 (14 months ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r861 r862 2631 2631 xc_hash_value_t hv; 2632 2632 2633 switch (Z_TYPE_P(name)) {2634 2633 #ifdef IS_UNICODE 2635 case IS_UNICODE: 2636 #endif 2637 case IS_STRING: 2638 break; 2639 default: 2640 #ifdef IS_UNICODE 2641 convert_to_unicode(name); 2634 convert_to_unicode(name); 2642 2635 #else 2643 convert_to_string(name);2644 #endif 2645 } 2636 convert_to_string(name); 2637 #endif 2638 2646 2639 #ifdef IS_UNICODE 2647 2640 xce->entry.name_type = name->type; … … 3147 3140 zval *name; 3148 3141 3149 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, " s", &name) == FAILURE) {3142 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "z", &name) == FAILURE) { 3150 3143 return; 3151 3144 } 3145 3146 #ifdef IS_UNICODE 3147 convert_to_unicode(name); 3148 #else 3149 convert_to_string(name); 3150 #endif 3152 3151 3153 3152 RETURN_BOOL(zend_u_hash_exists(CG(auto_globals), UG(unicode), Z_STRVAL_P(name), Z_STRLEN_P(name) + 1));
Note: See TracChangeset
for help on using the changeset viewer.

