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
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 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
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
Hi,
I've got another newbie question. My .ini parser now works correctly
when parsing a string (thanks to help of Matt Wilmas). With the same
function I want to be able to parse content of a stream. I looked at
fgets to see how to read a line from a stream. Unfortunately when I call
php_strea
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
Hi,
I'm new at PHP internals and have read the 'Extension Writing' tutorial
(part 1-3) of devzone.zend.com. I'm writing a set of parsers, to parse
different kind of configuration formats. The first is an .ini parser.
The code almost works correctly. The only problem I have is that
sections ge
Hello! I'm writting my own extension and I have a list of values which
must be indexed by a keyword, so when the user wants to retrieve one of them
by giving me the keyword I can quickly return him/her the associated value.
I implemented a couple of functions which operate two arrays of ch