Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110191 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 94803 invoked from network); 16 May 2020 20:07:18 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 May 2020 20:07:18 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 0E9C41804E3 for ; Sat, 16 May 2020 11:45:03 -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.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8075 40.64.0.0/10 X-Spam-Virus: No X-Envelope-From: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-oln040092009088.outbound.protection.outlook.com [40.92.9.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 16 May 2020 11:45:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=S4Xk47orS2faBI5WsykAuLUgI+ghrk11bKNhp/pPP9/BP53AALKMsXIEiORVVjazu++9JFgXCQ68jmc+FRYPDWmHdSffcazNwJr7nOCaUuOWZcuWfyUGLMpsX+rIpuRyMlRklbo9kbd7SvVmKfC7aDZJ3EIj87IbFr+zfJN2gL4FheM4SaZpe9vz/oc9TMZEVSvwtguTwWicHDdt7V1mq+9VCrSUOzfQWeEyUeuur/qsaR7NlLJDtArxpCfs2z4BC3TDcM/CImzUTU72KXEyp+ZES3MuZJWp8pqJI0uBCmz4QchH5Dk1fyGvEY8sbQvxc7coM03JrH8ovh3SOkYRNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gRecKWsfiiiUQ1WpPNaJSA5Z3VhiVBkKz2kxh+SO/wc=; b=UgWHcjlTcPj35TplAe0I5aq4QFoDFbGaCs25eO+T7SEWmunldPq7llBK4RWtMd3ZnGMbFWdfphA4fd5pSkroYhgki0I7zM1y8047A6jSRMrdR50JnR9OsiTq59eirorbwTWCRjZJhFptpUpds1U0/Z9TojeYRK+TfO5PvqO113WW8mz6G4c18Etp66lYEI+DxSjta9KCpHaBYkvoEjnB8wEp1Jis0skBe3bq+Nm6E9ViPMGjJsl7NZVzYlgV1brZpNlzkYajF7atgJOzVtIK/iT2ZaOeMGeh5P1XVOFwFwtk4KG2FzRiryWTBxv4Ln/FfDscmAAbMVcCTsxMdMLO0w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gRecKWsfiiiUQ1WpPNaJSA5Z3VhiVBkKz2kxh+SO/wc=; b=PCuKL9anqZI3Q3HXwUVEA8kTkvt+kLIMqFfaMfeH86NFegOgWvk0XnNO05u7sTuKTTMnX/6iv1A9x7vW1JmkQqjXWqFwfIl+s06vfhRtJr24nPceOZUxH10crE3LBSt8DmY03aUF73DlgwDW9DQu6PVkuX0zvdjGXChbJikIG/a6hMaViO6FWBgSq0rULA2t4+H+NeP3NEHaIKpj5b/HuLEvnLDcHWvCfL445GsdMAEeOBu7yINQawacLFoW8gFjAyp4U2PVISj8KxsiiNV7qXotCHkbRQrz4sDZKZ1EuZL4QPxYVKl73i1KEM0SOIO8hKxcP4XC2RTqZoJXDZwiPg== Received: from BN3NAM04FT046.eop-NAM04.prod.protection.outlook.com (10.152.92.54) by BN3NAM04HT197.eop-NAM04.prod.protection.outlook.com (10.152.92.183) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19; Sat, 16 May 2020 18:45:01 +0000 Received: from DM6PR07MB6618.namprd07.prod.outlook.com (2a01:111:e400:7e4e::40) by BN3NAM04FT046.mail.protection.outlook.com (2a01:111:e400:7e4e::396) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Sat, 16 May 2020 18:45:01 +0000 Received: from DM6PR07MB6618.namprd07.prod.outlook.com ([fe80::3054:f599:829e:7dd1]) by DM6PR07MB6618.namprd07.prod.outlook.com ([fe80::3054:f599:829e:7dd1%6]) with mapi id 15.20.3000.022; Sat, 16 May 2020 18:45:01 +0000 To: Derick Rethans CC: "internals@lists.php.net" Thread-Topic: [PHP-DEV] [RFC] opcache.no_cache: Opcache optimization without any caching Thread-Index: AQHWK5wzTowRpqnQX0mkb/2wfLlg3airAgEAgAAIULw= Date: Sat, 16 May 2020 18:45:01 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-CA, en-US Content-Language: en-CA X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:E279D877EFE9BC243C8CE241ED983A6F57186B0424B7515CE120EA344D1889BA;UpperCasedChecksum:FF909BEECA82492BEC743DF171842AB388CC3677C8FB8CFBA7EB97B9451B51DE;SizeAsReceived:7295;Count:46 x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [yeW1hKNdaTmAN+VAECret3+U7ft72kSqhf+nKEtBChzhzxzXIayfxHNS3szXTc8G] x-ms-publictraffictype: Email x-incomingheadercount: 46 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: 584a86e0-e96d-4ec5-0b43-08d7f9c93d78 x-ms-traffictypediagnostic: BN3NAM04HT197: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MNBsDOTl2te8EF/RWO7eRLzk9gCTIR2KhxVYPujv2nXLN47za9Lg9wubjbythBRuYsYjvLMC7QwggwcFsX4FbpZb9Yfp+cVapi3pfyVuWWB10qTBaA72GKIzHalIv9jB/U8Zj8vnaZ4rFp8OqNSbdWfyLopJZzi54Uu80/GKJAucx39KJi95ct8B+lCPfdVdn6MTmPdlXdHlqkXArKtlRA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:0;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR07MB6618.namprd07.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:;DIR:OUT;SFP:1901; x-ms-exchange-antispam-messagedata: I29PkDVXwbxGWBlZ6hInJFtT0JU/QuB5bY7V55ooKK4PNcPI5/QmQViBv+KwPK2TaoxijgafoaECVn0Cf3LiO00dX+P9iK3XZgly3oI78os5NS8NI+024osv2J64qluqOxvlCl9g+fHZcZ7NMkYqsa6m09lhZ03cvgZ/r4TlgW9SK4YNqj78blzzX+yvFDfC2oRG3SGqMTsrxNiHC6fU/w== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: 584a86e0-e96d-4ec5-0b43-08d7f9c93d78 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 May 2020 18:45:01.0285 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3NAM04HT197 Subject: Re: [PHP-DEV] [RFC] opcache.no_cache: Opcache optimization without any caching From: tysonandre775@hotmail.com (tyson andre) > In my opinion, configuration names should never be "in the negative". =0A= > Instead of defaulting to opcache.no_cache=3D0, default to opcache.cache= =3D1.=0A= =0A= I see your point - there are only a few negative ini names I see in phpinfo= () (disable_functions, disable_cache), and those are for lists of strings.= =0A= =0A= There's a mix of on by default and off by default in=0A= zend.enable_gc, opcache.enable, opcache.enable_cli, opcache.enable_file_ove= rride,=0A= enable_dl, and enable_post_data_reading.=0A= =0A= opcache.enable_cache=3D1 as the default would probably be more consistent w= ith those.=0A= But the setting isn't actually enabling cache, it's allowing cache (i.e. op= posite of disabling),=0A= so making this "opcache.allow_cache" might be the best. I'll probably go wi= th that.=0A= (similar to allow_url_fopen, allow_url_include)=0A= =0A= - `opcache.cache` could be confused with the caching strategy or the path t= o the cache,=0A= or being sufficient on its own to enable caching=0A= =0A= Thanks,=0A= - Tyson=