Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95666 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 23447 invoked from network); 5 Sep 2016 18:27:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2016 18:27:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@kelunik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@kelunik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain kelunik.com from 81.169.146.216 cause and error) X-PHP-List-Original-Sender: me@kelunik.com X-Host-Fingerprint: 81.169.146.216 mo4-p00-ob.smtp.rzone.de Received: from [81.169.146.216] ([81.169.146.216:35803] helo=mo4-p00-ob.smtp.rzone.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/F6-45301-C19BDC75 for ; Mon, 05 Sep 2016 14:27:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1473100057; l=2275; s=domk; d=kelunik.com; h=Content-Type:Cc:To:Subject:Date:From:References:In-Reply-To: MIME-Version; bh=XQVsA/t+c6quVh4m0hMT6cC1HPZo1JNTC+LkZgBcVIQ=; b=rlapX8ZcEAb8ezJPDvgc9bAKyJ8FKHKptUu3enfsu4rt0aLL+OlZdCnwFa4NZCwr/jK O+Wml5MNxk1KB9p9jtr3w40Hz6bJQPK0E1ADuCmAQrsgdEePc6Poh28IGwcjDTNgGFLf4 Clvo8fjhI2lOO7Oq9a3PahDRu4WvhGaIn8Y= X-RZG-AUTH: :IWkkfkWkbvHsXQGmRYmUo9mls2vWuiu+7SLGvomb4bl9EfHtO3s6 X-RZG-CLASS-ID: mo00 Received: from mail-wm0-f48.google.com ([74.125.82.48]) by smtp.strato.de (RZmta 38.13 AUTH) with ESMTPSA id z069e0s85IRb0xa (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Mon, 5 Sep 2016 20:27:37 +0200 (CEST) Received: by mail-wm0-f48.google.com with SMTP id 1so152352224wmz.1 for ; Mon, 05 Sep 2016 11:27:37 -0700 (PDT) X-Gm-Message-State: AE9vXwOrgHFHlD8XTFO1DrVn1KzwDklCPXU7dr1L50IoNCcitm4kzHZ+ZnpWNawMDGZjILImQ2u9JcTiNks9vg== X-Received: by 10.194.117.33 with SMTP id kb1mr22480714wjb.79.1473100057574; Mon, 05 Sep 2016 11:27:37 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.180.7 with HTTP; Mon, 5 Sep 2016 11:27:36 -0700 (PDT) In-Reply-To: References: Date: Mon, 5 Sep 2016 20:27:36 +0200 X-Gmail-Original-Message-ID: Message-ID: To: Nicolas Grekas Cc: Pierre Joye , PHP internals Content-Type: multipart/alternative; boundary=001a1130caa2a6a66f053bc6d53f Subject: Re: [PHP-DEV] Missing reflection info about strict types? From: me@kelunik.com (Niklas Keller) --001a1130caa2a6a66f053bc6d53f Content-Type: text/plain; charset=UTF-8 2016-09-05 17:25 GMT+02:00 Nicolas Grekas : > > > > 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 > Why do you concatenate these files in the first place? --001a1130caa2a6a66f053bc6d53f--