Re: [PHP-DEV] newbie question

2015-09-15 Thread Yasuo Ohgaki
Hi Andrei, On Wed, Sep 16, 2015 at 9:35 AM, Andrei Bernardo Simoni 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, y

Re: [PHP-DEV] newbie question nr 2: compile error when using php_stream_get_line

2006-11-10 Thread Arnold Daniels
Hi again, I thought that this might not be interesting enough for the list. But I'll be sure CC it in the future. Thanks for your help, the extension now builds. It doesn't run however. I crashes on PHP_STREAM_TO_ZVAL(stream, in). But I'm sure I'm able to fix that problem myself. Thanks ag

Re: [PHP-DEV] newbie question nr 2: compile error when using php_stream_get_line

2006-11-10 Thread Johannes Schlüter
Hi, errors complaining about something related to tsrm_ls mean that you're building a thread-safe PHP and forgot some TSRMLS[_...] macros. See for example http://blog.libssh2.org/index.php?/archives/22-What-the-heck-is-TSRMLS_CC-anyway.html for more about these macros. This should help you, but

Re: [PHP-DEV] Newbie question: zend_hash_find

2006-11-08 Thread Matt Wilmas
Hi Arnold, zend_hash_find() is always returning FAILURE because its "key_length" parameter *includes* the terminating '\0'. :-) So you need strlen(key) + 1. BTW, are any of your keys going to have numeric values ([123] sections etc.)? Then you'll also have a problem with hash_find() as it doesn