Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111976 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79522 invoked from network); 1 Oct 2020 16:01:37 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Oct 2020 16:01:37 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9E3211804B1 for ; Thu, 1 Oct 2020 08:13:46 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 1 Oct 2020 08:13:46 -0700 (PDT) Received: by mail-ej1-f41.google.com with SMTP id nw23so8631815ejb.4 for ; Thu, 01 Oct 2020 08:13:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NoXaT5XaP0CLZQqw+0d+QYtp6iynFE1iUO1Qp65WaVg=; b=C/fTtQ8RAVcqDL1dLJ25iaAR2piuIeUqFM3pcr6/8/7S66DYRTqS+gq3tpytKcLUht 6A5Ary3ETgeBRFKgdnX7uHEOKOfrb7DHGSaflCpNAvqxeizzFgmBW4nvMrjgVAtbbplg l90ETH9MM3Cv7UbIr5ikquP87QZhfW+SH97GAEAc8qWtIsC9jmUgLpgHVd/dIWDKrG2F 5dwAsh/p3rOR9X2kTau4fHR3tLXVMTz+K/JFs2Cgfj3+0ft9EAvgx0vxCUsiUd3cTAX7 dyut+Jkd6CD36ZKRmqM/bD9ZQK1WnHnr9bWZajSxPhGfuZOh39lPbPN5HW98EY07CEeP Qrhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=NoXaT5XaP0CLZQqw+0d+QYtp6iynFE1iUO1Qp65WaVg=; b=LdMDXgAYXnCzG8t5eXuYXmOjr3zrsz8OYR1FCgv/5LbrvZS4fa0OTWSw7P0pOt2CCw iG2zAoldMSfgW6+jvhIVRnRk/5VnHNR9368fZkywHW0mpbKIva6zMgL09a5rkrGTJVyd maf91X3vqmWfecNPxZHgOR9RgQ7UjU5AjBs7yQNYK8ffoiu4EByPBSIeZ3A8I8ZpQI4H knowQH8ao6HCpzH1tieIL18O9v1oeGa9PWD1mfAmtRnAKNc68n49JO0ibFSmcEO8hhEc RWKsHebJyhGoAceCBgQ1zzhpVbVDth8+OqckkpKfbEmkpLR16bq3S98Xem1zREwAnDSd ykdw== X-Gm-Message-State: AOAM5301SwxTQLkVkAVEDn+4wSb81Y0soPjs27iioZ8e7UIj/aXonodI mRMbfI5PaJFQmoulg4e5V9r2oEhX828= X-Google-Smtp-Source: ABdhPJwntZXcVktxpHd84SKf4Ec11G6odSaW6DN2lZVb6zZJXRwh+SQyH6BDn4Mxr54/vDhUxN9t9w== X-Received: by 2002:a17:906:7e53:: with SMTP id z19mr1352500ejr.334.1601565223054; Thu, 01 Oct 2020 08:13:43 -0700 (PDT) Received: from ?IPv6:2001:983:6fc5:1:6c0a:7d1a:eb5:321b? ([2001:983:6fc5:1:6c0a:7d1a:eb5:321b]) by smtp.gmail.com with ESMTPSA id n4sm4341522ejj.19.2020.10.01.08.13.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 01 Oct 2020 08:13:42 -0700 (PDT) To: Nikita Popov , Rowan Tommins Cc: PHP internals References: <940131FA-19B3-406C-8982-0AD276FD1879@gmail.com> Message-ID: <142da816-f3bf-2f05-6147-ccd2117e1dfd@gmail.com> Date: Thu, 1 Oct 2020 17:13:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: execution opcode file without php source code file From: dik.takken@gmail.com (Dik Takken) On 01-10-2020 14:30, Nikita Popov wrote: > It would be good to know what the actual use-case for this is. If the goal > here is to distribute pre-compiled PHP code without the source code, then > this is not going to work without making the opcode format stable (which, I > think, is pretty unlikely.) If the goal is improving cold startup > performance, then I wonder what the benefit over the existing file cache is. The only use case I see is to package commercial closed source applications as Docker containers. That allows the packager to ship the compiled code along with the exact PHP version and configuration that can run it reliably. Regards, Dik Takken