Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96077 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78877 invoked from network); 21 Sep 2016 18:47:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2016 18:47:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 74.125.82.41 mail-wm0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:35661] helo=mail-wm0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/BC-04117-DC5D2E75 for ; Wed, 21 Sep 2016 14:47:42 -0400 Received: by mail-wm0-f41.google.com with SMTP id l132so284976773wmf.0 for ; Wed, 21 Sep 2016 11:47:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bJGb5tTzc7qu8xR8rMVesTgxQYAhbls2Qy+Bd7umK3M=; b=O9iCPXhDZBXKnfHA1cHMoAXQB5zGyhDc3qmAZBgIzFZBKeZqkrRT+LIWX3ix2E5nZf CLfjP/v6X5UDuzMUCr3cS++NW1KVYQTC3m6mkCMsF1JRJSbF+EWQoFiYThyGW/zM9jFd H5+OyVl+m6JyyagIRVroSnAQfH0diQC1Ip3bnusCyMneHJs2N5j600moIJ39oDqLKlw6 jZMLg6GU9qu78WmUIYwOFE+UHJClOEAeq5a6LXbhDl+FS4YuVlX18PHMiji8HbgB+jZX VYx67x3foQkbGd2MfopGLMeFIuqCkex4ZAQmneZ8lSdBByPvqVMacy1j8dW01mEHXmUw XEuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bJGb5tTzc7qu8xR8rMVesTgxQYAhbls2Qy+Bd7umK3M=; b=VXqrakcDfLZXLgdLWkbTxhDGCpv4zHQhwh+jZeT4wnFT7o++UuM8JgVhRFhRP7E+1V Gw+pO8PqZUhNeEoZiecDWWhywtNeISMGt2XfH62FMIslsRnweJKcbX8aKyRWat865kUC v7sdIz0h4GXUApRe7l+ALgNafIzC/vTV5FSjgKwx0dlDxYjMhzVzDYXMXxgxHdnO8upr rYzw5eNbiXrCzuStAUAXTr6mcn6IFQfdleT9Xv//D8sUy/3w6sOOF3SdMO2iBnAGlHN8 CcEcrui2fGLMVp0LUoMefe+XGbYZ2HXp/PpUpM+aCNfkK12djjyLCJmeeOYUHki8DSPT Ly5A== X-Gm-Message-State: AE9vXwMGmdVtCFE+05z6DfFND6bJ4UAC6D4tvIEJESRAtQy4xE0htmtGLhi/X0QbBi/o+aSgJG07wQEyT4KM9A== X-Received: by 10.28.23.18 with SMTP id 18mr4385954wmx.100.1474483658723; Wed, 21 Sep 2016 11:47:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.234.105 with HTTP; Wed, 21 Sep 2016 11:47:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2016 20:47:18 +0200 Message-ID: To: Levi Morrison Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11497a72b498a0053d08faab Subject: Re: [PHP-DEV] Fix ReflectionType::__toString() BC break From: nicolas.grekas@gmail.com (Nicolas Grekas) --001a11497a72b498a0053d08faab Content-Type: text/plain; charset=UTF-8 > > See https://github.com/php/php-src/pull/2136 > > On a technical note this is a potentially breaking change for C > extensions. Since it is a currently a `zend_bool` its value is > truthy/falsy; you are now applying specific meaning to values. > > Maybe someone else will have more insight into what might be affected > realistically, but this is one reason this was not implemented this > way to begin with. > Note that Nikita's proposal (i.e. stick to 7.0 behavior and ignore the "nullable" bit) is free from this problem yet really fine also as far as BC is concerned. --001a11497a72b498a0053d08faab--