Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backtrace generation docs are out of date #113

Open
MaxSem opened this issue Jun 20, 2022 · 1 comment
Open

Backtrace generation docs are out of date #113

MaxSem opened this issue Jun 20, 2022 · 1 comment

Comments

@MaxSem
Copy link

MaxSem commented Jun 20, 2022

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
@derickr
Copy link
Member

derickr commented Jun 20, 2022

Can you make a pull request? The site is at https://github.com/php/web-bugs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants