Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81006 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 89700 invoked from network); 23 Jan 2015 00:20:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2015 00:20:02 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lerdorf.com designates 209.85.216.171 as permitted sender) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.216.171 mail-qc0-f171.google.com Received: from [209.85.216.171] ([209.85.216.171:38340] helo=mail-qc0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/A5-61273-DA391C45 for ; Thu, 22 Jan 2015 19:20:01 -0500 Received: by mail-qc0-f171.google.com with SMTP id s11so4164614qcv.2 for ; Thu, 22 Jan 2015 16:19:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type; bh=1UXrGkZATwKOQkWglTwfVELgq0YIryuzQUVKSS9o6XE=; b=cahBtKVl9nyUA7McfnmndfWPxmrcEmUvdNN6KUDCXLB7RWmW/CDzSol5AIDe3bv0pC TQzllXS2sS7lkXj0AnDPcaJwJbwLLkZGHcszqgMHKAnYiH0VnUZ+jp6eno+paTZtoqoJ UT9YO3lsmx24qGqz6SWKNvzJYfBWwXYPpqCp4oLiEq6J3wLbN1MBxgUAgSu7fWFaTvAf rYyvG2MSUV0Uk+xuz1pXDmJSxGTYeRKSE20NkDsn0aAfUm+aAZZUmZ9egpScuXcHFG8W SYPSeWIxv/0i1JRWjjuksF0iXDucJTHmNu00I+5uPuIsEDkPEIEKNkBzS8vUwLgcJlUZ sKcA== X-Gm-Message-State: ALoCoQndfzbsFjZDV4HkPNxJJJVOiU4uXCQgYG1GuDLHah3n+LAocC2USvZWl9QRSKu8GjYbU4g8 X-Received: by 10.140.46.37 with SMTP id j34mr8071477qga.12.1421972393902; Thu, 22 Jan 2015 16:19:53 -0800 (PST) Received: from [192.168.200.14] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPSA id w9sm7949497qab.18.2015.01.22.16.19.51 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Jan 2015 16:19:52 -0800 (PST) Message-ID: <54C193A6.7060206@lerdorf.com> Date: Thu, 22 Jan 2015 16:19:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Dan Ackroyd CC: "internals@lists.php.net" References: <54C12DD8.7020800@lerdorf.com> <54C16698.4080203@lsces.co.uk> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ijEbVLimWd1FwDIG60GFEIrgEUIKUCmVd" Subject: Re: [PHP-DEV] PHP7 Homework for everyone reading this list From: rasmus@lerdorf.com (Rasmus Lerdorf) --ijEbVLimWd1FwDIG60GFEIrgEUIKUCmVd Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 01/22/2015 02:30 PM, Dan Ackroyd wrote: > On 22 January 2015 at 21:07, Lester Caine wrote: >> imagick is now available? >=20 > Not yet. I'll try to finish it off before the end of the weekend. Most > of the work was done earlier, but I need to add the changes for the > Native TLS. >=20 > btw this request to update the PHPNG upgrading guide is still open: >=20 >> Thanks. I think the TSRM changes need to be added, which could be copi= ed from: >> https://github.com/php/php-src/commit/dec8eb431adee340fb8dfb9ff33ed29d= 3279c35f >> Providing a link to a commit that implemented the TSRM changes for an >> extension, so that people could see the actual changes needed, would >> be awesome. For most extensions that just do something simple like imagick does: #ifdef ZTS # define IMAGICK_G(v) TSRMG(imagick_globals_id, zend_imagick_globals *, v= ) #else # define IMAGICK_G(v) (imagick_globals.v) #endif There is absolutely nothing to do. You can, just for your own amusement and because it makes the code look prettier, go through and remove all instances of TSRMLS_* macros in all your C files. But it isn't critical since they are just defined to nothing in PHP7. Just leave that TSRMG define in your .h file and it will do the right thing. -Rasmus --ijEbVLimWd1FwDIG60GFEIrgEUIKUCmVd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlTBk6YACgkQlxayKTuqOuCM0QCcCe5nwGw293os9LYOe/gZyk08 dlQAni5S8CweWFrTaNymvymo6L0nHA5Y =dveT -----END PGP SIGNATURE----- --ijEbVLimWd1FwDIG60GFEIrgEUIKUCmVd--