Skip to content

Backtrace generation docs are out of date #113

@MaxSem

Description

@MaxSem

Instructions from https://bugs.php.net/bugs-generating-backtrace.php don't work anymore.

In modern versions of PHP the following seems to work:

  • Printing function name: print (char*)current_execute_data->func.common->function_name.val
  • Printing scope name: print (char*)current_execute_data->func.common->scope.name.val

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions