Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76178 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76096 invoked from network); 27 Jul 2014 05:30:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2014 05:30:31 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.50 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.50 mail-qg0-f50.google.com Received: from [209.85.192.50] ([209.85.192.50:61637] helo=mail-qg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/0B-22380-57E84D35 for ; Sun, 27 Jul 2014 01:30:30 -0400 Received: by mail-qg0-f50.google.com with SMTP id q108so6952886qgd.9 for ; Sat, 26 Jul 2014 22:30:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=L8rb8Qrh3rp7+8s3JPShMeAcnNluvH8G7Dfh9gQjQ8E=; b=FIwtm9vfQvRk4HtWqYzoOS37VdKTgf0+ewOzG3hVidwHYLerXwxgPUvcoPU3oRDoq4 ewkOJlyeWYwclB/mZ5Mmvm0lrn42cb6zuwBmG7AzlrAqUYMEvp7+LHvw9eaFsxqGAsIy Dhp2vVCudn7o/vXVz8OgDMawLf8zLaQ98WmJgJumnDwSpKdGmxUWYsJVKDBpENmq9wqa kiTwLiOEtEJTjzys1nsa5C1NUVRlvt2HCpnPbivJ58G0h4efApyjnuYISZuRMn76liTl 7pKUiXuHzTJm0fk84GCXDEji+yXNQcjECEKwXH74KW8//THTKgzbaS0g0cUCIc04WXP1 dchA== MIME-Version: 1.0 X-Received: by 10.140.106.225 with SMTP id e88mr44453271qgf.20.1406439035876; Sat, 26 Jul 2014 22:30:35 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Sat, 26 Jul 2014 22:30:35 -0700 (PDT) In-Reply-To: <53D440ED.8020709@sugarcrm.com> References: <53A3874E.20704@sugarcrm.com> <53A62AFF.4080302@sugarcrm.com> <53B10D59.4060206@sugarcrm.com> <53D440ED.8020709@sugarcrm.com> Date: Sun, 27 Jul 2014 07:30:35 +0200 Message-ID: To: Stas Malyshev Cc: Julien Pauli , Ferenc Kovacs , Nikita Popov , Alexey Zakhlestin , Marco Pivetta , Sebastian Bergmann , Remi Collet , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Problems with the fix for the BC break introduced in 5.4.29 and 5.5.13 From: pierre.php@gmail.com (Pierre Joye) hi, On Sun, Jul 27, 2014 at 1:59 AM, Stas Malyshev wrote: > Hi! > >> What I found *safe*, with checkers that check object is properly >> initialized, so not needing patch, but throwing exceptions or warnings >> when used bad constructed : >> - SPL > > SPL unfortunately is not safe at all - a lot of iterator classes > segfault on no-ctor initialization. I'll make a patch for them. > It would be good to have a section in UPGRADING.INTERNALS explaining in details what should be done, very important for non core extensions (pecl or other repositories). Cheers, -- Pierre @pierrejoye | http://www.libgd.org