HashTable registered; /* registered */
HashTable seek; /* seek oplines */
phpdbg_frame_t frame; /* frame */
- uint32_t last_line; /* last executed line */
+ zend_uint last_line; /* last executed line */
phpdbg_lexer_data lexer; /* lexer data */
phpdbg_param_t *parser_stack; /* param stack during lexer / parser phase */
static inline void phpdbg_create_conditional_break(phpdbg_breakcond_t *brake, const phpdbg_param_t *param, const char *expr, size_t expr_len, zend_ulong hash TSRMLS_DC) /* {{{ */
{
phpdbg_breakcond_t new_break;
- uint32_t cops = CG(compiler_options);
+ zend_uint cops = CG(compiler_options);
zval pv;
PHPDBG_BREAK_INIT(new_break, PHPDBG_BREAK_COND);
if ((brake = phpdbg_find_breakbase_ex(num, &table, &position TSRMLS_CC))) {
char *key;
- uint32_t klen;
+ zend_uint klen;
zend_ulong idx;
int type = brake->type;
char *name = NULL;
HashPosition position[2];
HashTable *class_table;
char *class_name = NULL;
- uint32_t class_len = 0;
+ zend_uint class_len = 0;
zend_ulong class_idx = 0L;
phpdbg_out(SEPARATE "\n");
HashPosition position[3];
HashTable *class_table, *method_table;
char *class_name = NULL, *method_name = NULL;
- uint32_t class_len = 0, method_len = 0;
+ zend_uint class_len = 0, method_len = 0;
zend_ulong class_idx = 0L, method_idx = 0L;
phpdbg_out(SEPARATE "\n");
HashPosition position[2];
HashTable *function_table;
char *function_name = NULL;
- uint32_t function_len = 0;
+ zend_uint function_len = 0;
zend_ulong function_idx = 0L;
phpdbg_out(SEPARATE "\n");
HashPosition position[2];
HashTable *file_table;
char *file_name = NULL;
- uint32_t file_len = 0;
+ zend_uint file_len = 0;
zend_ulong file_idx = 0L;
phpdbg_out(SEPARATE "\n");
default: {
char *list = NULL;
- uint32_t it = 0;
+ zend_uint it = 0;
size_t pos = 0;
while (it < matches) {
ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
-static inline uint32_t phpdbg_decode_literal(zend_op_array *ops, zend_literal *literal TSRMLS_DC) /* {{{ */
+static inline zend_uint phpdbg_decode_literal(zend_op_array *ops, zend_literal *literal TSRMLS_DC) /* {{{ */
{
int iter = 0;
return 0;
} /* }}} */
-static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t type, HashTable *vars TSRMLS_DC) /* {{{ */
+static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, zend_uint type, HashTable *vars TSRMLS_DC) /* {{{ */
{
char *decode = NULL;
if (op_array) {
zend_op *opline = &(op_array->opcodes[0]);
- uint32_t opcode = 0,
+ zend_uint opcode = 0,
end = op_array->last-1;
if (method->common.scope) {
PHPDBG_G(flags) |= PHPDBG_IN_UNTIL;
{
- uint32_t next = 0, self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
+ zend_uint next = 0, self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
zend_op *opline = &EG(active_op_array)->opcodes[self];
for (next = self; next < EG(active_op_array)->last; next++) {
PHPDBG_G(flags) |= PHPDBG_IN_FINISH;
{
- uint32_t next = 0, self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
+ zend_uint next = 0, self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
for (next = self; next < EG(active_op_array)->last; next++) {
switch (EG(active_op_array)->opcodes[next].opcode) {
PHPDBG_G(flags) |= PHPDBG_IN_LEAVE;
{
- uint32_t next = 0, self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
+ zend_uint next = 0, self = (EG(current_execute_data)->opline - EG(active_op_array)->opcodes);
for (next = self; next < EG(active_op_array)->last; next++) {
switch (EG(active_op_array)->opcodes[next].opcode) {
/* get filename and linenumber before unsetting exception */
const char *filename = zend_get_executed_filename(TSRMLS_C);
- uint32_t lineno = zend_get_executed_lineno(TSRMLS_C);
+ zend_uint lineno = zend_get_executed_lineno(TSRMLS_C);
/* copy exception */
exception = *EG(exception);