Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95634 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 91573 invoked from network); 5 Sep 2016 09:38:53 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2016 09:38:53 -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:37658] helo=mail-wm0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DF/AA-45301-92D3DC75 for ; Mon, 05 Sep 2016 05:38:51 -0400 Received: by mail-wm0-f41.google.com with SMTP id w12so30731545wmf.0 for ; Mon, 05 Sep 2016 02:38:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=s4RdJ5UG9PcO31OU+1eYJsU6/DzAhYfZHIFO48PxhWo=; b=FjackFBn3NdwA0nV8z/ERxD/02lqdtm6NQX8LgQK1IztPb3Dr8yZn+Jjvpd5MMukYk X1JIrIebypt1w26qrUPrNKon9IngA1hV4aJYsisWglel4mQDCyT4ThV/e2KU4CC6ecPg NwLS/XMKhJ6K3ZUGJ0RLwXwFVMTWzGOfU3WpYcsjdIHowkouKiZqxoXbprVMalt85YQ0 TPm7AgV78fCyxRaxxFpk2lXqh0uFCHmhWxuJImQ0b9GbL7vsVCqVYEI7ZmpXRY3kAjcf t3bUxzkHmEuv988t3WAPw6TnzTpTNw8y6Q3MecR2Naz5OZjCblRTi2Ogc54/7TQsDw8s 3L6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=s4RdJ5UG9PcO31OU+1eYJsU6/DzAhYfZHIFO48PxhWo=; b=aAoaTsfHpMrcpI9Qe8Lgi79SiCUL33zSrL68H1UgRWv97A/oXZ/SnKkUXtCd27BrcI pFfuUKpS2BWSXvKTPq8vNw1r8ndUQ2wT3o+GtlwJdlcVf4l+eU/SlIMtTqqBtbdMToT/ sH98b8X2FEG4AJYdWEWv75ZpKrs/sKhDDxx3anTZWbzBk8RorCCgbIMj/iPiQTerhNPt Ph1rgjhvJA7FipL1bk/kheKJSacDX9XcYeNv8OgN2uYqHaWuGTluH9a1Fe71qA6JSrm1 W1uTKL5LnJvGoXdSKyhsJatyX4Fm/xk8MyaQ3QoEvlNKddbaWeq82fcgcnBJ4txdPebK JG4A== X-Gm-Message-State: AE9vXwPiyVskmT3/zwDR4x3Bvn8KmO/bgy62TB6Vidq2zumrvkR9KUAO7zI4TUa3lji00MOrKGsKKJ9Vlj1whA== X-Received: by 10.28.174.76 with SMTP id x73mr13828806wme.60.1473068327057; Mon, 05 Sep 2016 02:38:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.234.105 with HTTP; Mon, 5 Sep 2016 02:38:26 -0700 (PDT) Date: Mon, 5 Sep 2016 11:38:26 +0200 Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11444af45d448a053bbf7226 Subject: Missing reflection info about strict types? From: nicolas.grekas@gmail.com (Nicolas Grekas) --001a11444af45d448a053bbf7226 Content-Type: text/plain; charset=UTF-8 Hello, It looks like we miss a way to check by reflection if a function/method has strict types enabled or not. We'd need to do this in Symfony to generate a file with concatenated classes, but split "declare_strict=1" classes out so that they don't break (because there is no way to create a single file that contains both strict and non-strict classes unfortunately also). Would it be possible to expose some flavor of ZEND_ACC_STRICT_TYPES to userland? Regards, Nicolas --001a11444af45d448a053bbf7226--