Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:121710 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28594 invoked from network); 17 Nov 2023 17:13:25 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Nov 2023 17:13:25 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CB8D318002B for ; Fri, 17 Nov 2023 09:13:24 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from sender3-of-o57.zoho.com (sender3-of-o57.zoho.com [136.143.184.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 17 Nov 2023 09:13:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700241200; cv=none; d=zohomail.com; s=zohoarc; b=liQki4THxQjlMyu+JBKmJ/hSHnaB7QFqRzvZkRhZjG/Evhji9XFe5bhjqu++yR0bRgo6arD0KBMCVR1dFGzppfV0bG5yXiF4qUnvg5wcbqsoaEQ0AKLysyPOiBW6XPU5e9VQSnHYgj8xVNeUY5Fo3ucdYN0yY460gWG2bBPwaBk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1700241200; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=eAW3+LPEikduCtFii0qwZ6rlwc47RhXmq2wQI57yyLg=; b=G6/NbW3wElmiEFmqFDx1lR3wnlyI+85WaytXtZ3ROGHGrcmpmJQJtbyk8NN8rEqC9Q5efmxqO1jVfaStailVDerLpHTu1e10WSh0oysb9w+cQoWWoTmK7i9RtvQuD2rbQrdb4L1AnZsrPx8itb9C+n2nrXbPgss9oMFRecZ/RNM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=daniil.it; spf=pass smtp.mailfrom=daniil@daniil.it; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1700241200; s=daniil; d=daniil.it; i=daniil@daniil.it; h=Date:Date:From:From:To:To:Message-ID:Subject:Subject:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=eAW3+LPEikduCtFii0qwZ6rlwc47RhXmq2wQI57yyLg=; b=YQ+jJdJzHy2A9XsUgeyH0rbOPHCZxt82xTvEoOSEdd3NQ3ovg7sTXFx6cx1QFdXK VSQczeAijun1PcwYE0Qfw5VHCcCLLYbOJRvPlC11v08EvruVZEOghzsJlnOWUr57Af3 S6o5G7j8K/co/8lm8MQd2zJVOrmnLCuvDMSfmW0E= Received: from dummy.faircode.eu (128.116.205.77 [128.116.205.77]) by mx.zohomail.com with SMTPS id 1700241199112863.6401064473803; Fri, 17 Nov 2023 09:13:19 -0800 (PST) Date: Fri, 17 Nov 2023 18:13:16 +0100 (GMT+01:00) To: internals@lists.php.net Message-ID: <7bd0952c-3105-47bd-87e9-ab6f68f540b6@daniil.it> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3_48760707.1700241196679" X-Correlation-ID: <7bd0952c-3105-47bd-87e9-ab6f68f540b6@daniil.it> X-ZohoMailClient: External Subject: Report fatal error if JIT cannot be enabled due to a misconfiguration From: daniil@daniil.it ------=_Part_3_48760707.1700241196679 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi all, Just a heads up as asked by Ilya, regarding https://github.com/php/php-src/pull/12403: this PR will improve the JIT startup logic by actually emitting a fatal error preventing PHP startup in case of a misconfiguration or other JIT-related issues. The fatal errors will explain the exact reason why JIT startup failed, obviously if and only if JIT is explicitly enabled in the configuration (which it isn't, by default). I feel this is a distinct improvement over the current implementation which just silently disables JIT, with no logs whatsoever, to the point where the only way of finding out that JIT is not enabled even if you did enable it in the config is running opcache_get_status. Hope it's all fine by you, planning to get this merged by PHP 8.4. Regards, Daniil Gentili. ------=_Part_3_48760707.1700241196679--