Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111969 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 14655 invoked from network); 1 Oct 2020 12:32:03 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Oct 2020 12:32:03 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DEB2A1804D8 for ; Thu, 1 Oct 2020 04:44:11 -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=1.2 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_H2,RCVD_IN_SBL_CSS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (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 04:44:11 -0700 (PDT) Received: by mail-wr1-f52.google.com with SMTP id x14so5304952wrl.12 for ; Thu, 01 Oct 2020 04:44:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:user-agent:in-reply-to:references:mime-version :content-transfer-encoding:subject:to:from:message-id; bh=F+HuiDD4KrVxXMV2w91QS64bz9pT0GuxemxxEVJMaNE=; b=mGMXd8UiJRdjh7izJof3zki+hy8wjwxoFtHgorQw6KWWBjQMq8nuuzR5hjaLNLm3aJ +r7R8t1NKp4BeU1+Qs54cYr4JE82VmfL0LgoIWdEjzT0BXkSNUMnAGeluM7qK98IfZT+ JmCbA9YnAv0/rZrttfvmHoiaOvSPGcxJv/jD267pMHLBl52DHUkZ5xLaMmsXdgCFvXts 1+DyvHVd84SKDb+beF1N3em7E4YwlPJZs2ABVN0uh0j7GGNGxkh+A/CChqg59ETrSFIg pbm8ZhZ7GQ/slnoymMCFpsV9KV6j4AuEeAZ/i1omruThxjtp+i2+nDfZK0PBQHuJHNaA 6LEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:subject:to:from:message-id; bh=F+HuiDD4KrVxXMV2w91QS64bz9pT0GuxemxxEVJMaNE=; b=So/SAPTW3lyrVWgCSdjymP7ajd6XNlJkQ2BCPoR4vIwlwUO+qHDsFdk44oDAW5yJx6 6gxpC1SJ8EbRzH1FYQr4HlTvkv4NupwMSrFQK4aR/R27881eRTf3THdxyxkjI2bsD0dC woOrcDPU7zbm6CVRIRFlaBMhLIQVeDzL6YWWmYV0YdGbOjdYACwTS5pf6SNFqqet+IRr DP6/Odk2GiywhIHccPEXCDViCOkRcvd1v1fBVorWV/MFILKn/qmCSAo1VM2zcxiblWZH Ocwwwn702h8py3hICaa+8mwncoP8ymhWnsZpLsiRJ/TTFL67qgc9qdlmLgy7MR5DiOsS knUg== X-Gm-Message-State: AOAM530hXX+k8SVRI0gB9E/Oqj/+2oi2qnQpeUWhP1tRcKqm7jSVE9oo w/RwPUx4AJZyJvIZIxXlPc894yPX984= X-Google-Smtp-Source: ABdhPJwuKWCYBi+Mu+O6BQFcIWJdM/5V3EBBh197NRhi93LitHEIzUGhspyEjSz67Z/7i5rupOOpXg== X-Received: by 2002:a5d:69c9:: with SMTP id s9mr8440370wrw.348.1601552647623; Thu, 01 Oct 2020 04:44:07 -0700 (PDT) Received: from [10.103.101.235] (92.40.173.189.threembb.co.uk. [92.40.173.189]) by smtp.gmail.com with ESMTPSA id d2sm8700361wro.34.2020.10.01.04.44.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Oct 2020 04:44:06 -0700 (PDT) Date: Thu, 01 Oct 2020 12:44:06 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable To: internals@lists.php.net Message-ID: <940131FA-19B3-406C-8982-0AD276FD1879@gmail.com> Subject: Re: [PHP-DEV] RFC: execution opcode file without php source code file From: rowan.collins@gmail.com (Rowan Tommins) Hi, On 1 October 2020 10:36:20 BST, "=E8=82=96 =E9=91=AB=E9=91=AB" wrote: >I commit a new request path, the request is about execution opcode file >without php source code file >this RFC provides similar to class file of java and pyo file of python=2E >patch is: https://github=2Ecom/php/php-src/pull/6146 I'm sure someone who knows the internals better can clarify, but my unders= tanding is that PHP OpCodes don't currently have any stability guarantee, s= o you can't rely on a binary taken from one version will run on another, ev= en within a release=2E In order to be useful, this will therefore need two things: - a header in the file identifying the engine version it was compiled for,= with an error raised on any mismatch - a policy of how to manage that version number, and how users can know wh= ich versions their binary files will work on There's probably a limit to how stable we can (or want to) make the VM, so= these files will never be as portable as a Java class file or =2ENet assem= bly=2E Regards, --=20 Rowan Tommins [IMSoP]