Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96046 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18633 invoked from network); 21 Sep 2016 09:57:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2016 09:57:45 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:54124] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/71-04117-79952E75 for ; Wed, 21 Sep 2016 05:57:44 -0400 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id F2DE44BE11; Wed, 21 Sep 2016 11:57:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=4.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.0 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.2.34] (ppp-46-244-162-146.dynamic.mnet-online.de [46.244.162.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id DEA0A4BE10; Wed, 21 Sep 2016 11:57:44 +0200 (CEST) Message-ID: <1474451814.919.1.camel@kuechenschabe> To: Nicolas Grekas Cc: "internals@lists.php.net" Date: Wed, 21 Sep 2016 11:56:54 +0200 In-Reply-To: References: Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-pNmSaB2gN4G1sbcWXXJT" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Subject: Re: [PHP-DEV] Fix ReflectionType::__toString() BC break From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) --=-pNmSaB2gN4G1sbcWXXJT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, On Wed, 2016-09-21 at 10:55 +0200, Nicolas Grekas wrote: > our turn to be hit by this 7.1 BC break in Symfony: > `ReflectionType::__toString()` now adds a `?` in front of type hints wher= e > `null` is allowed by their default values. Curious: Why do you depend on the string representation? What information is not available in a proper interface? I won't like to call a toString() representation a committed interface. johannes --=-pNmSaB2gN4G1sbcWXXJT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAABAgAGBQJX4llrAAoJEH3sTmn8nIPXezAIAJxtuTNCaYyocjeLk6tRLclK V92Q5yL3OIb1WWwVTlH9mwLAjvCfWMrNrnmuJkQpNW5yiDtkxBB6QutcNFwQItMq 3yZgLf+GbcsQ3ksAagbxUAw+NS1tjM+ysbJqcrACYhO5l6mwG5OgLwTHknUoQ3Tt IV9maOTySyTO9CK1I8xE/bB3FL7knG9wgbb8mB1jAA1IBi2XpkWF/H93rRcyNYAX N8ol7UjL7rpqLs+Kj+9H9oNklR4OXM9s6Xwsuda1kmvactlByVJ9gyKXPeHAUyB5 sI5ebJVX5/SIYrRQxwgrsCTEZyFEAIkTW7txPhOxTuZeo1YURkwMLbqwBnh9H78= =wEjG -----END PGP SIGNATURE----- --=-pNmSaB2gN4G1sbcWXXJT--