Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char *line_pos = strrchr(str, ':');
- if (line_pos && phpdbg_is_numeric(line_pos+1)) {
- if (strchr(str, ':') == line_pos) {
- char path[MAXPATHLEN];
- memcpy(path, str, line_pos - str);
- path[line_pos - str] = 0;
- *line_pos = 0;
- param->file.name = phpdbg_resolve_path(path TSRMLS_CC);
- param->file.line = strtol(line_pos+1, NULL, 0);
- param->type = FILE_PARAM;
- goto parsed;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement