Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102037 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63744 invoked from network); 13 Apr 2018 13:40:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Apr 2018 13:40:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.182 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.220.182 mail-qk0-f182.google.com Received: from [209.85.220.182] ([209.85.220.182:42220] helo=mail-qk0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6A/3E-36099-E43B0DA5 for ; Fri, 13 Apr 2018 09:40:31 -0400 Received: by mail-qk0-f182.google.com with SMTP id b198so9103665qkg.9 for ; Fri, 13 Apr 2018 06:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=AIcO1DRfWBOdl1aJ0Riy6PjAnNQg/Hn2tWJP6bnXenU=; b=T4qJDzQw5bl5ngzjTRSZGseMMQOIcHVXAnXtEpeUYbJAtOuBtDM+/W8XwRHWEX22wT C0cfJtuc8IirNpKVGBdozY1nXQnyGnUjQWD6MPKpcoXE1Rxz4Gi4RpDeWvng7t8Z0Gg1 0LUoJv2Hi7iNXS91vH3xXxTQr4VhfXPxygkXBivio7rYgjDy9Ljy0ydkf7r54J1tviEx OTz4UIJOjTG4KJNeubhf3dbalFdRjFNwrVTZfzANHzz+TfzJnz/uyOZS65+PG5yhI4j0 LK08bfvpnYPaIf3/fTbUjRwac5U4PhramQpKIakPNuNsad8ba869brGnKaTm9fwYzEAB HJ+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=AIcO1DRfWBOdl1aJ0Riy6PjAnNQg/Hn2tWJP6bnXenU=; b=ZfGe0Awf6tRLBglpJi0LEQlW4wl6xNw76PoyDL8bgm7HTIv6TJbqsrd8/XVkf/zDFe f8+aabSsdRTiidmF+/sfGfiu8xgVEfxss6AjN0Rme2vsuJPyZDR5OzBnSuFElDr/eq2z SwIBEvuCiLsoIhP5J/LJQP5x9+HIwC8WlF7rpomks1y1aZ+ZQLeARJ0R5W/GtFene8Ld O0i8GwcNEA9N5SLI8K1kmMFTiMurAVTkvFHhFO1a/NreBtSFaqsCYp/m+vr9g9Ic1uzD M30UZKPSpUHX/vMbZsvpVCwylDYc8A+l8JGMMKygeF6rEOPJxkiL0Hz4Pyoffo4+s8Qa FKpQ== X-Gm-Message-State: ALQs6tD7CNfq9zJGhHOYe8aJUyqmUV0dod6yB0rfAZrEjBNWQwrzt+vy Cq0P5tkyL1gYlEOpMfkuQvkVOfiYoNUPlbBApKw= X-Google-Smtp-Source: AIpwx4/l9vnUghF0RUZOplaXkZXFD9gMcllywmIo37nBYtAmwoW30jFJfE0w3OSYz1bukyxdIifJROVaeNKzRyXaPCI= X-Received: by 10.55.22.41 with SMTP id g41mr3898205qkh.172.1523626828456; Fri, 13 Apr 2018 06:40:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.12.249.72 with HTTP; Fri, 13 Apr 2018 06:39:58 -0700 (PDT) In-Reply-To: References: Date: Fri, 13 Apr 2018 16:39:58 +0300 Message-ID: To: Dmitry Stogov Cc: Zeev Suraski , Xinchen Hui , Nikita Popov , Bob Weinand , "Anatol Belski (ab@php.net)" , PHP internals list Content-Type: multipart/alternative; boundary="001a11470e52e1674a0569bb033b" Subject: Re: [PHP-DEV] PHP FFI extenesion From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a11470e52e1674a0569bb033b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2018-04-13 16:27 GMT+03:00 Dmitry Stogov : > Hi, > > > I've spent some time thinking about simple FFI for PHP, and finally, > borrowed most ideas from LuaJIT. > > This is an initial PoC. It was tested on Linux only. > > > https://github.com/dstogov/php-ffi > > > I would appreciate review, comments and ideas about missing features and > functionality. > > > Thanks. Dmitry. > > > Hello Dmitry, PECL has an extension like that listed, although it's old and probably does not work, https://pecl.php.net/package/ffi so it might need replacing to avoid confusion. --=20 Arv=C4=ABds Godjuks +371 26 851 664 arvids.godjuks@gmail.com Skype: psihius Telegram: @psihius https://t.me/psihius --001a11470e52e1674a0569bb033b--