Re: newbie question

From: Date: Wed, 16 Sep 2015 02:05:34 +0000
Subject: Re: newbie question
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-88224@lists.php.net to get a copy of this message
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

« previous php.internals (#88224) next »