Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70360 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69467 invoked from network); 24 Nov 2013 21:21:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2013 21:21:40 -0000 Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.44 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.216.44 mail-qa0-f44.google.com Received: from [209.85.216.44] ([209.85.216.44:48643] helo=mail-qa0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D6/73-51929-3ED62925 for ; Sun, 24 Nov 2013 16:21:39 -0500 Received: by mail-qa0-f44.google.com with SMTP id i13so2345770qae.3 for ; Sun, 24 Nov 2013 13:21:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Low2M/jNCPvlzJcTieQVqebvfX3g6S6yp/oDXQHN42Y=; b=X/jeTgZoLkzSvnG3F4iMKwsAh9jCD2H/Ze+StJK86nVycCkq7lUmPAdIZ4uouO+2I9 KUi5BD147QRD40wxq9L0ZHZvcWy7qHWr60q0LdA/yNwpBxx/2bkuImemPK9pwlrBRQr4 zyGahBz2TNP5S5rVtMwJjiXlPS5m578sZYVkJCMbe8OgH86Evd/cXCGOZ03VnlgTb5bx ntCx3QDg8AXVl7nDrR8d1452I9uUXKySSy8uGPDiGtJQWuw6Asay00KWnLlhFTwFR7xA CFYSTjJ+Yh2H6YI5Ryj9ySHt4yAU86aRwCqjp7ipQjyWbxvaH9VcxMycpL8YJv8TlxZG C6Jg== MIME-Version: 1.0 X-Received: by 10.224.66.134 with SMTP id n6mr13475914qai.39.1385328096836; Sun, 24 Nov 2013 13:21:36 -0800 (PST) Sender: jakub.php@gmail.com Received: by 10.224.37.133 with HTTP; Sun, 24 Nov 2013 13:21:36 -0800 (PST) In-Reply-To: References: Date: Sun, 24 Nov 2013 21:21:36 +0000 X-Google-Sender-Auth: rT38-tvz9Nz_1Cb57NPRTO1A818 Message-ID: To: Anatol Belski Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c2bd841c141204ebf2d59a Subject: Re: [PHP-DEV] size_t and 64 bit integer branch From: bukka@php.net (Jakub Zelenka) --001a11c2bd841c141204ebf2d59a Content-Type: text/plain; charset=ISO-8859-1 On Mon, Nov 18, 2013 at 10:43 PM, Anatol Belski wrote: > Hi, > > the branch with size_t for string length and 64 bit integer replacement > for long datatype was brought so far. This branch is based on the one > started by Anthony Ferrara. > > Compiled with --disable-all --enable-cli this functionality is already > available. Except of a couple of edge cases, the tests pass on both 64 bit > Windows and Linux. The implementation is ready as a solid base for the > further porting. There are several new macros and typedefs to handle 64 > bit compatibility. All those are placeholders which can be easily renamed > later, if needed. There is a wiki page indicating the current progress and > containing quick start instructions: > > https://wiki.php.net/rfc/string-size_t/progress > > As the base does exist now, I'd like to call the maintainers and > developers to participate on further porting of the core extensions and > SAPIs. Many of those should be easy to convert. Any reviews and comments > on what is done are of course welcome, too. > > The new era of PHP is coming, do your part! :) > > Hi, I have been playing with openssl a bit and made it work with this configuration: --disable-all --enable-cli --enable-debug --with-openssl The commit is here https://github.com/bukka/php-src/commit/215811e3fdb7b4f2786576851c8687c6249c4725 It's just an initial work but it works fine for all tests. However there are lots of issues that need to be properly tested. I made notes about all possible issues that could be a problem: https://gist.github.com/bukka/7617548 Lots of them are just possible loss of data that won't be really problematic but testing is required anyway IMHO. But some issues could be a problem and they need a proper testing. I currently work on my php-crypto ext that I plan to propose for PECL soon. So I will be doing testing for more versions of OpenSSL anyway. I could prepare some tests for edge cases and do it together though. Let me know what you think about the patch! Thanks Regards Jakub --001a11c2bd841c141204ebf2d59a--