HelloIm new in the PHP project and i would like to know where I can start.To quench my curiosity I wonder which part of the code read the files with extension .php
Thanks so much everyone
Hi Andrei,
On Wed, Sep 16, 2015 at 9:35 AM, Andrei Bernardo Simoni
andrei_simoni@hotmail.com wrote:
HelloIm new in the PHP project and i would like to know where I can start.To quench my curiosity I wonder which part of the code read the files with extension .php
If you are looking for some code execution path, you are better to use
gdb (or any other debugger).
script:
<?php
echo 123;
Set breakpoint at zend_execute(), then you'll get following stack
(PHP 7 CLI) or like.
0 in zend_execute of
/home/yohgaki/git/oss/php.net/php-src/Zend/zend_vm_execute.h:437
1 in zend_execute_scripts of
/home/yohgaki/git/oss/php.net/php-src/Zend/zend.c:1400
2 in php_execute_script of
/home/yohgaki/git/oss/php.net/php-src/main/main.c:2471
3 in do_cli of /home/yohgaki/git/oss/php.net/php-src/sapi/cli/php_cli.c:971
4 in main of /home/yohgaki/git/oss/php.net/php-src/sapi/cli/php_cli.c:1342
You're better to read Zend code briefly if you would like to do
something with Zend.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net