Trace/path/process of a php commands on the computer

Asked

Viewed 82 times

0

I’m interested to know what is done when PHP runs a echo or print (for example).

I am interested to know what track/path/process it makes at the lowest level of "machine language". How it allocates this in memory, what space it has allocated and etc.

  • 1

    Dude, in the moral, read the interpreter’s code: https://github.com/php/php-src. I don’t think it’s Sopt’s job to give you that kind of mixed knowledge.

  • It is an option @Edgarmunizberlinck. Vlw. But when I find the said whose program that is listening and spits the result in the terminal, I will post to the guys know. Thanks.

  • See if this is what you are looking for: https://bugs.php.net/bugs-generating-backtrace.php Att. Edgar Sandi

  • Edgar Muniz, am I asking you to help me explain something? I’m interested in tools like the backtrace that Edgar Sandi posted above. If I was unhappy in my post, I apologize. I will try to be more didactic next time. Vlw man..

1 answer

1


Here’s a post explaining exactly what I was looking for.
http://derickrethans.nl/more-source-analysis-with-vld.html
The VLD program displays the operating code (opcode) that a processor has to perform some tasks.
My intention when using the tool, is to understand the difference in behavior at low level, of functions that perform 'almost' the same thing.
echo and print for example.

  • 1

    If that’s what you’re looking for, take it in response.

  • Thank you @Thomas

Browser other questions tagged

You are not signed in. Login or sign up in order to post.