Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:119338 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 18424 invoked from network); 18 Jan 2023 22:29:49 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 18 Jan 2023 22:29:49 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 52B671804D4 for ; Wed, 18 Jan 2023 14:29:48 -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=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS29838 64.147.123.0/24 X-Spam-Virus: No X-Envelope-From: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 18 Jan 2023 14:29:47 -0800 (PST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id BE4AD3200909 for ; Wed, 18 Jan 2023 17:29:45 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute4.internal (MEProxy); Wed, 18 Jan 2023 17:29:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1674080985; x= 1674167385; bh=F/b4GGjiXowmRV7VvvE4EwywQD7gdkZVeCCb9+BqWSw=; b=i CEnjSjIRjIcyoqE0V4OK8RvxL4AXJcR7CJYZUTSZYtVgMrENWmuCm8L3Jc+qJa7s qO+VDuWxBo8Hbz5yTsSdkiULralzrfmnAVwgiPvi7+IjOHq/ocaS1bGY8B4MbH7l kWrZ4LOrEGgC3pog5zeBwGfAI/s+RyvuKfsbvS590CuEmZ/mxI3+UA6yY8rr9KJz PVNvyvnUJixNcKYVFpFmhxvr8JBH/ZxFnneAvBFHnI1ehQ1VoI//WfINg+wcn78e 3OImIKZuaXQtBSag3ZXmWuK9sUWf4xkIuuaYIcYWRu9XCjYCagr3RUKR1sBEZIk7 qg3wdjFloacl13fJA9iNQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1674080985; x=1674167385; bh=F/b4GGjiXowmRV7VvvE4EwywQD7g dkZVeCCb9+BqWSw=; b=sJnhZ4s495BdHEvnVEI+2pOI9bE8PtPwiwe9whbTc7HW 1YtivEsoSvv1kjem8m8oNWr9AzKZxk87TDTyAj7XTakmvU2FHGvi7TPuYz4tTxXm 6UqEsumg9Dy/mISCnYf8T01lt5HykJBRxQ5BCx6N0RAab57rs0/XBF9ecV5sRCHx OJTSQXyEGJHAWOaTSXh1XpGPb6wULZMA1BrfvyHLBoKzlh7o2HLi33HNkgMp7Y+C RSKlnDQV7pScDHChgoDIKHTklg8rx9WFPj8BUlG1ANNiXp7euBoM3wj4g7Q7/C9p ZxiqeW1NIW264ENN2dRJqcuqapdI2qtlKdVTZRXEmw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedruddtkedgudeitdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgr rhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homheqnecuggftrfgrthhtvghrnhepgeelgfekudeivddvteffueejffdthfejieevhefg ffekudevkedtvdelvddvffefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheplhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 191D51700089; Wed, 18 Jan 2023 17:29:44 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1187-g678636ba0d-fm-20230113.001-g678636ba Mime-Version: 1.0 Message-ID: In-Reply-To: References: Date: Wed, 18 Jan 2023 16:29:23 -0600 To: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] Measuring Proposal Reaction From: larry@garfieldtech.com ("Larry Garfield") On Tue, Jan 17, 2023, at 1:25 PM, Jesse G. Donat wrote: > I'm looking to measure reaction to a proposal. > > My proposal is to have the STDOUT and STDERR global constants always > defined rather than just when running via CLI. > > The variability of their existence is a common cause of confusion for > younger inexperienced devs, and even something that slips the mind of more > experienced developers. > > My team actually internally has a sniff forbidding STDOUT and STDERR due to > their unreliability in favor of fopenening php://stdout / php://stdout > > I think removing the environment variability between CLI and Web > outweighs the potential problems of people writing to these in the wrong > contexts, especially given that you can already fopen and fwrite to > standard out and standard error from a web session. > > This is only my second RFC I've purprosed so I'm pretty new to the process. > Let me know what you think and what I can do to help > > Thanks, > > Jesse G. Donat Does anyone know why those constants are left out? Given that the functionality can still be used, as noted... --Larry Garfield