Hi Andrey, I didn't get why do you need this extension and how it's going to be used.
Thanks. Dmitry. On Tue, Apr 7, 2015 at 4:43 PM, Andrey Hristov <p...@hristov.com> wrote: > Hi, > I would like to hear comments about a small change to the low-level tick > functionality (main/php_ticks.c) to add state to when calling a C tick > function > The patch is alive at : http://pastebin.com/0zhVNxaY > > Currently a C tick function gets as a parameter just the number of ticks, > and can't preserve state between calls. On PHP level one can use closures > to mitigate this, but in the C world we don't have this luxury. > > Any comments are very welcome. If possible to get in PHP7. > > > Cheers, > Andrey >