Tracing flow in PHP ...
| From: | Usman S. Ansari | Date: | Mon, 16 Jul 2007 21:45:43 +0000 |
| Subject: | Tracing flow in PHP ... | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-30992@lists.php.net to get a copy of this message | ||
In file "main/streams.c, function PHPAPI size_t _php_stream_read(php_stream *stream, char *buf,
size_t size TSRMLS_DC) is called when php script is trying to connect and read from remote web
server.
I have so far traced that it is calling
toread = stream->ops->read(stream, buf, size TSRMLS_CC);
at line 641. I need to figure out which function is actully called by function pointer
stream->ops->read ?
This is PHP 4.4.7. I know this is old version, I am only trying to debug mu TCP stack.
Thanks for help.