Changeset 726 for branches/1.3/xcache.c
- Timestamp:
- 04/09/2011 02:59:31 PM (2 years ago)
- Location:
- branches/1.3
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3
- Property svn:mergeinfo changed
/trunk merged: 709-720,722-723,725
- Property svn:mergeinfo changed
-
branches/1.3/xcache.c
r701 r726 931 931 xc_entry_data_php_t *php = (xc_entry_data_php_t *) data; 932 932 933 class_name = opline->op1.u.constant.value.str.val;934 class_len = opline->op1.u.constant.value.str.len;933 class_name = Z_OP_CONSTANT(opline->op1).value.str.val; 934 class_len = Z_OP_CONSTANT(opline->op1).value.str.len; 935 935 if (zend_hash_find(CG(class_table), class_name, class_len, (void **) &cest) == FAILURE) { 936 936 assert(0); … … 2437 2437 } 2438 2438 2439 if (value->type == IS_CONSTANT) { 2439 switch ((Z_TYPE_P(value) & IS_CONSTANT_TYPE_MASK)) { 2440 case IS_CONSTANT: 2440 2441 *return_value = *value; 2441 2442 zval_copy_ctor(return_value); 2442 2443 return_value->type = UNISW(IS_STRING, UG(unicode) ? IS_UNICODE : IS_STRING); 2443 return; 2444 } 2445 2446 if (value->type == IS_CONSTANT_ARRAY) { 2444 break; 2445 2446 case IS_CONSTANT_ARRAY: 2447 2447 *return_value = *value; 2448 2448 zval_copy_ctor(return_value); 2449 2449 return_value->type = IS_ARRAY; 2450 return; 2451 } 2452 2453 RETURN_NULL(); 2450 break; 2451 2452 default: 2453 RETURN_NULL(); 2454 } 2454 2455 } 2455 2456 /* }}} */ … … 2478 2479 } 2479 2480 /* }}} */ 2480 static function_entry xcache_functions[] = /* {{{ */2481 static zend_function_entry xcache_functions[] = /* {{{ */ 2481 2482 { 2482 2483 PHP_FE(xcache_count, NULL)

