Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95649 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69993 invoked from network); 5 Sep 2016 15:26:02 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2016 15:26:02 -0000 Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.44 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 74.125.82.44 mail-wm0-f44.google.com Received: from [74.125.82.44] ([74.125.82.44:37978] helo=mail-wm0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/E0-45301-88E8DC75 for ; Mon, 05 Sep 2016 11:26:01 -0400 Received: by mail-wm0-f44.google.com with SMTP id 1so145250270wmz.1 for ; Mon, 05 Sep 2016 08:26:00 -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; bh=d0KXYZSx/fLPm9Cr47ejkRRr7hOCA0seS3ULZJy/yB8=; b=0W//kEI4lRmBBmQGBs6OYJgwadPaIuBO0lXuUosvALqMK47Z1c6ADo9Glu4WsfnBZ5 4YJx6fugxN9kymjLeY6Dg5cPTSOMBQr021dc8od5R2M/laWTneiBCpvUJz+glqqBoGbJ IVa6C1pNQUI/JFlKBZH6Qw43D93SHEPl0gmrYYw1UxhabmXWGHxBMrYpEsKURWf7a/7h 4DsTivzxz2L31uhbHUya8x0XgEJ8f0n9Wg7sG1e5pMGPa8J3YO/HMJu19I6IsB7UZlnX EGxFoJj5p/fhV9+EHwc9gwR0tKI2Mx471rkxqEAmn6OPpOV7fQ+fxeHaGCqmtcNMXoin LXvA== 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; bh=d0KXYZSx/fLPm9Cr47ejkRRr7hOCA0seS3ULZJy/yB8=; b=Q5icAIkaoYIPULcFWVTKfs9CXVEPVJXqFLUf9sz3hEMDa6o2vNVszoC7g4ZeAobeeP kPaBtX9R1ecB27TdVHGOFlUXPvZY+HM7Pr8L5Wj5HGj0W6SQlefu2DRof5UndwvcHTJS Y0XTfmvXmvuUZ9v/8kzRYdvA0mAwF45Z1NGJgZKSvWpWH2mN4keJzWcKUx1L1E0T6OaE d8FlpTDsEOK1/VoeJRTxMCeB13YNRoMUMEg926N4pvXuiBs1HACbcj5o0h8R+arJD1Kx pKowYsHv4aPmlGXdfC02PnjOGKYr5Y/2HDgbbDGOx5qKiUGuYdCRzrjvCvVtarn2/wrN +k2A== X-Gm-Message-State: AE9vXwOUfw2ZnTu6diq+OttX8NA1G0w7x4lkdpCiDuFoLRF88w7qvTZ28LTyJp6I8/uXgvNCD936HMmQJcpwUg== X-Received: by 10.28.206.141 with SMTP id e135mr1641942wmg.0.1473089157314; Mon, 05 Sep 2016 08:25:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.234.105 with HTTP; Mon, 5 Sep 2016 08:25:36 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Sep 2016 17:25:36 +0200 Message-ID: To: Pierre Joye , PHP internals Content-Type: multipart/alternative; boundary=94eb2c192b02f1cb32053bc44b67 Subject: Re: [PHP-DEV] Missing reflection info about strict types? From: nicolas.grekas@gmail.com (Nicolas Grekas) --94eb2c192b02f1cb32053bc44b67 Content-Type: text/plain; charset=UTF-8 > > being strict type it should not matter, at all > It doesn't, except when trying to concatenate several source files into a single bigger one. Then we're stuck because declare(strict_type=0/1) is specifically *not* allowed in the middle of a file, and *not* allowed to use the block syntax (declare(strict_type=0/1) {...}). In fact, the feat I was asking for could be seen as a workaround for this limitation. Maybe it would be better to allow some syntax to be able to create one big file that contains class declatation foo1 & foo2, where foo1 is strict and foo2 isn't? Nicolas --94eb2c192b02f1cb32053bc44b67--