Re: [PHP-DEV] PHP FFI extenesion

2018-04-26 Thread Michael Wallner
Hey Dmitry! On 17/04/18 09:29, Dmitry Stogov wrote: > hi Michael, > > it's pitty, I didn't found this extension before. > thanks for pointing, I'll definetly take a look. Did you have a chance to look at it yet? > I, also, like the idea of preloading ffi definitions on startup, but I > would p

Re: [PHP-DEV] PHP FFI extenesion

2018-04-26 Thread Dmitry Stogov
hi Michael, On Apr 26, 2018 10:31 AM, Michael Wallner wrote: Hey Dmitry! On 17/04/18 09:29, Dmitry Stogov wrote: > hi Michael, > > it's pitty, I didn't found this extension before. > thanks for pointing, I'll definetly take a look. Did you have a chance to look at it yet? Yeah. I took a look

[PHP-DEV] PHP 7.2.5 Released

2018-04-26 Thread Remi Collet
Hi, The PHP development team announces the immediate availability of PHP 7.2.5. This is a security release which also contains several minor bug fixes. All PHP 7.2 users are encouraged to upgrade to this version. For source downloads of PHP 7.2.5 please visit our downloads page. Windows binaries

[PHP-DEV] PHP 7.0.30 is available

2018-04-26 Thread Anatol Belski
Hi, The PHP development team announces the immediate availability of PHP 7.0.30. This is a security release. Several security bugs has been fixed in this release. All PHP 7.0 users are encouraged to upgrade to this version. For source downloads of PHP 7.0.30 please visit our downloads page: http

Re: [PHP-DEV] PHP FFI extenesion

2018-04-26 Thread Dmitry Stogov
Hi Michael, I've just tried to run PSI with php-master (32-bit DEBUG build) and got SIGSEGV on the simplest test. Use "psi.d/string.psi" and attemt to call psi\strerror(10) #0 0xf44916ba in psi_call_frame_parse_args (frame=0xf426c500, execute_data=0x0) at /home/dmitry/php/ext-psi/src/call.c

Re: [PHP-DEV] PHP FFI extenesion

2018-04-26 Thread Michael Wallner
Hey! > On 26 04 2018, at 20:47, Dmitry Stogov wrote: > > Hi Michael, > > > I've just tried to run PSI with php-master (32-bit DEBUG build) and got > SIGSEGV on the simplest test. > > Use "psi.d/string.psi" and attemt to call psi\strerror(10) > > > #0 0xf44916ba in psi_call_frame_parse_arg

Re: [PHP-DEV] PHP FFI extenesion

2018-04-26 Thread Michael Wallner
> On 26 04 2018, at 11:25, Dmitry Stogov wrote: > > > Did you use PSI with some complex libraries? Define complex. There’s a working sqlite test (quite simple use case for sqlite, though): https://github.com/m6w6/ext-psi/blob/master/tests/sqlite/sqlite001.phpt

[PHP-DEV] PHP 7.1.17 Released

2018-04-26 Thread Joe Watkins
Evening, The PHP team announces the release of PHP 7.1.17, a security release. All users of PHP 7.1 are encouraged to upgrade. Changes can be found: http://php.net/ChangeLog-7.php#7.1.17 Downloads are available: https://secure.php.net/downloads.php#v7.1.17 Verification information follows: php

Re: [PHP-DEV] PHP FFI extenesion

2018-04-26 Thread Dmitry Stogov
Hi Michael, I've, also, tried to implement FFI definition pre-loading (currently just H files). I spent just two hours and implementation misses a lot of details, but it looks like this may work with FFI extension almost out of the box. https://github.com/dstogov/php-ffi/commit/75cdae7a26406