Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:102890 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4670 invoked from network); 17 Jul 2018 13:43:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2018 13:43:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=mitke013@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mitke013@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.54 as permitted sender) X-PHP-List-Original-Sender: mitke013@gmail.com X-Host-Fingerprint: 209.85.218.54 mail-oi0-f54.google.com Received: from [209.85.218.54] ([209.85.218.54:44067] helo=mail-oi0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EE/89-37178-872FD4B5 for ; Tue, 17 Jul 2018 09:43:21 -0400 Received: by mail-oi0-f54.google.com with SMTP id s198-v6so2059362oih.11 for ; Tue, 17 Jul 2018 06:43:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ms7vn8DYu7lsWhnQFYEFrosuN7oo8aSNnncSo3Z+Bj8=; b=TdBSodugYTfWQwJYfhzXuinBlmQS46kFv6pMkPI5pU+YjcXYiWuOmPzxU39Zgb+pTc z57LcVGJDjciQV4vd9QPWx7XcyJFKAmzF/Gez6kC7+yz1nYQzjDc3Pa9P+69Peu9l61J R3UBtKMQnlGLIPJT2LUvls488ORoFHHdjFIruBcUVAnvwUuiSURE66ldJ0czVv+WvZlx xG2P5GJseMQV4/huGYKNyW42gMvCUdkMeyB88FDjSAqyDGRrQesgs7NKDKi/qa+THJeH NpjJ3hS2BZqbTL++TuKs3Fa4LyJTp8/0svrBwKDm0c9LpL/MbsFI9i5oGJ0qYNeZWIGe FTew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ms7vn8DYu7lsWhnQFYEFrosuN7oo8aSNnncSo3Z+Bj8=; b=PN0y4qpWBghu0m5R/eOe28fRE/fHgbSkrH5ihNyIwahL1v2xXDpRSQaucvDxHxoiHE eP5WmeI8ttslk5Ojp0E7/+klok8gmrLmdgXXY1FDcwRs2qLDpibb6Rpe2VL6W37x/R27 p2E222p/dRQmWIgWrSNByO5q50n5wNr0KslLAJueLc1c6jzdaZTMN9rvUHLHf0vFWQkL ykdWnycEin46jLkOmnQmMPyaRzvFH6mUx4xvlfwmLWtDciCDCHAUFXH1H3aJLvVJti/4 VR710JI/sHRf49rukj/LEnmMCCLit6+moArUO55RJDCLVL7fwDey1p1aqNHRHddhdaBM TCow== X-Gm-Message-State: AOUpUlGIxJRDbpNBX9nSRZ53ScCFqVw9jG1kD+yQUw9OKRswwKv1uv0B BEg4D8L/O2Y1BQJJtq/jzx2Lm1k0gVDhD93jJx0= X-Google-Smtp-Source: AAOMgpc4ash7DnFXN4HuTAA5Xm/c6dds5XKSF9CDRYZUK3JiwVkPf1THT0tus5vg2d/rnGJzeKI7SryDSbh6uXZPDzQ= X-Received: by 2002:aca:7247:: with SMTP id p68-v6mr1818794oic.252.1531834997841; Tue, 17 Jul 2018 06:43:17 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 17 Jul 2018 15:43:06 +0200 Message-ID: To: Dan Ackroyd Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary="000000000000e6a61a057132208f" Subject: Re: [PHP-DEV] [RFC] Optional typehint check for parameters From: mitke013@gmail.com (Zeljko Mitic) --000000000000e6a61a057132208f Content-Type: text/plain; charset="UTF-8" On Tue, Jul 17, 2018 at 3:39 PM Dan Ackroyd wrote: > On 17 July 2018 at 13:08, Zeljko Mitic wrote: > > > > It won't help, preprocess.io doesn't remove typehints. > > It doesn't _currently_ remove parameter types. > > If you think this is an idea worth doing, you could write the > functionality to do that. > > cheers > Dan > To be honest, I did think of that after I replied. But then I saw one big problem; autowiring containers like Symfony (which I use) will not work anymore. So this is definitely a no-go. --000000000000e6a61a057132208f--