Changeset View
Changeset View
Standalone View
Standalone View
extension/xhprof.c
| Show First 20 Lines • Show All 955 Lines • ▼ Show 20 Lines | if (func) { | ||||
| } | } | ||||
| } else { | } else { | ||||
| long curr_op; | long curr_op; | ||||
| int add_filename = 0; | int add_filename = 0; | ||||
| /* we are dealing with a special directive/function like | /* we are dealing with a special directive/function like | ||||
| * include, eval, etc. | * include, eval, etc. | ||||
| */ | */ | ||||
| #if ZEND_EXTENSION_API_NO >= 220100525 | #if ZEND_EXTENSION_API_NO >= 220121212 | ||||
| curr_op = data->prev_execute_data->opline->extended_value; | |||||
| #elif ZEND_EXTENSION_API_NO >= 220100525 | |||||
| curr_op = data->opline->extended_value; | curr_op = data->opline->extended_value; | ||||
| #else | #else | ||||
| curr_op = data->opline->op2.u.constant.value.lval; | curr_op = data->opline->op2.u.constant.value.lval; | ||||
| #endif | #endif | ||||
| switch (curr_op) { | switch (curr_op) { | ||||
| case ZEND_EVAL: | case ZEND_EVAL: | ||||
| func = "eval"; | func = "eval"; | ||||
| ▲ Show 20 Lines • Show All 1,069 Lines • Show Last 20 Lines | |||||