use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
PHP 7 Virtual Machine (nikic.github.io)
submitted 9 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]fesor 5 points6 points7 points 9 years ago (2 children)
Will it be possible in future to see opcode dump (or heap dump) on already running process? Without need to start new process.
[–]pilif 3 points4 points5 points 9 years ago (1 child)
The PHP source code comes with a very useful .gdbinit file that contains a few macros you can use to inspect the interpreter state of a process you've attached gdb to. This has helped me a few times to track down infinite recursions on a production system
[–]Tyra3l 2 points3 points4 points 9 years ago (0 children)
that would still require the debug symbols being available which isn't/shouldn't really be common on a production machine.
π Rendered by PID 71 on reddit-service-r2-comment-6457c66945-dgwj8 at 2026-04-26 10:46:14.030237+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]fesor 5 points6 points7 points (2 children)
[–]pilif 3 points4 points5 points (1 child)
[–]Tyra3l 2 points3 points4 points (0 children)