Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112490 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 76922 invoked from network); 11 Dec 2020 15:22:50 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Dec 2020 15:22:50 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 157EF1804DD for ; Fri, 11 Dec 2020 06:52:47 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.2 required=5.0 tests=BAYES_20, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.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 ; Fri, 11 Dec 2020 06:52:46 -0800 (PST) Received: by mail-lf1-f52.google.com with SMTP id 23so13685103lfg.10 for ; Fri, 11 Dec 2020 06:52:46 -0800 (PST) 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=7araAVa+mslQ/qp75Xb+1y/fiwPr7YoJUCbzt7Xdntw=; b=VUd73klTWGGoP84Aom8KfCCxNMAHCo6GF4Mmv0f1eXgkDDmMhvTEovNaCz2Ud6mWaz 7dE9xIw2PKX5c5qEUqROpVuzt+IdmqaaSg5+uEMLG0WFRq6QvsLbmgmmOg/4T7qWeAWk CqONl0kFnssLkyuhjiu1iJ8AGfsHupMkufdXdbvY4/1SBib9WJ3ImdAYuyIA2oBLhQCR DOm0hVac0+8jeWwY7I+kTcclRB0Hcp1+Vk1HysyB/5GnAVImQV/pvSDOGkEc9Fe2A22B hLNd/NiZpuCVSvaqT7e82v9hOlPNmzkU54YRiKiOTOoIdXaifNwTTQWi+Y0AvNNv2LzF 91OQ== X-Gm-Message-State: AOAM530o1V2CXQHp+FBaA512Jko9C8I4h0RNxupaFWXu0WttrhfVfw1D RcX4eQBvOsM9ovls0uy23oLq7p0JtcHr3TqTo+KL5Q== X-Google-Smtp-Source: ABdhPJxgNhks1wIpvummrKpvzbwVVV2D2vz5XLA6f/1N9sa7KkxIHHmOiBTkES3z1gr0VFgsYh6aU+xCka/PNbu5rNA= X-Received: by 2002:a19:5f5d:: with SMTP id a29mr4547733lfj.212.1607698361610; Fri, 11 Dec 2020 06:52:41 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 11 Dec 2020 08:52:30 -0600 Message-ID: To: Morgan Breden Cc: =?UTF-8?B?4oKs4oCTIOKAnWvigJ1r?= , Aleksander Machniak , "internals@lists.php.net" Content-Type: multipart/alternative; boundary="000000000000c00d2005b63171ab" Subject: =?UTF-8?Q?Re=3A_=5BPHP=2DDEV=5D_=E5=9B=9E=E5=A4=8D=3A_=5BPHP=2DDEV=5D_=5Brfc=3Adirect=2Dexecutio?= =?UTF-8?Q?n=2Dopcode=5D_Whether_need_=5F=5FFILE=5F=5F_the_value_of_the_file_to_rep?= =?UTF-8?Q?lace_the_compiled_opcode_file_path?= From: pollita@php.net (Sara Golemon) --000000000000c00d2005b63171ab Content-Type: text/plain; charset="UTF-8" On Thu, Dec 10, 2020 at 2:20 PM Morgan Breden wrote: > I'm not 100% certain but I believe what chopins is proposing is the > ability to require()/include() files generated by opcache, without > including the .php file. > > The reference to __FILE__ is I believe a warning to using relative paths, > since the compiled opcode file would be in a different location? > Yeah, I found their PR which made the intent a lot clearer. I would add this to the already sizable list of reasons why that PR isn't a good idea. -Sara --000000000000c00d2005b63171ab--