Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124353 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id E232B1A00B7 for ; Wed, 10 Jul 2024 15:46:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720626472; bh=/b61pPcKxnTOMMg30Im3auDV5RaMCRNKVTCDyTZD44Y=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=NM/Lr5ckUvg7rPfPMIeobzQkuyvyMLrhBTU3rVOgYafFi7UVmotPE9U4gbZCwc8Aa kw0rJup52ybOFlTN9AwwL5Z4QzHyssXajEANlSYgipIs0l3j+qkhq52j6yrCy/oeMc a7GOv7/Mo38krpnOI6u7zfKFGBqVWDnpIJhDmd+vADvpdiVIEaaFR6qIeMuDeFnKR+ BFHv7v0Uca6b5wcObsxqo3UsfArBRYkT7u8qXFAsrKhCnPAY6q/J7Qk8Et2qSvmsP4 kCGi5AqzJ3HhV6jwT2SQlcaIB3ZmX+fv5+l3DSodxncVVzXvmJucn7D+jrztrI0VGM EwS6RqB8pWG6Q== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id DF379180BD7 for ; Wed, 10 Jul 2024 15:47:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, SPF_SOFTFAIL autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) (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 ; Wed, 10 Jul 2024 15:47:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1720626384; bh=/b61pPcKxnTOMMg30Im3auDV5RaMCRNKVTCDyTZD44Y=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=A5jJe9EkttliaSPBr7DqTVa2FgIl/i5C7AzCTU7DzqZBYJi24Dj5QtxX3/b4fmVBK 3/xDBat2boiV1ZHK4PIbZa1536naaL5JLb/MeV+RvxSHAL8DBt7DEmRuw80+EHU825 W45YcxRQq7246gIdGhNZzq8ABcoVlCbIOHaQHRTWWbme2wlmqe4knyrm2EVNog5v5f aAOdZ0/UrTXn3vMHM6VW8+jnd7qN2+6BgXsCjATyJMVjHhRRMZmQnY6GCyohVO6Q4n yeYmtbRTIZrDce/OwB/v2M9/up2a+RV4nxvoKi6IIm1rYLjISmsaq/gUBLOM9a4O8Z IJcuOmtf0IYEA== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 8F66B10C17D; Wed, 10 Jul 2024 16:46:23 +0100 (BST) Date: Wed, 10 Jul 2024 16:46:23 +0100 (BST) To: Lanre cc: Jorg Sowa , Larry Garfield , php internals Subject: Re: [PHP-DEV] Re: [Discussion] Add date_test_set_now() function In-Reply-To: Message-ID: <438b9d16-0f92-0003-d86c-94752a446162@php.net> References: Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1712971064-1720626384=:3691" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1712971064-1720626384=:3691 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 1 Jul 2024, Lanre wrote: > On Mon, Jul 1, 2024 at 2:21=E2=80=AFPM Jorg Sowa wr= ote: >=20 > > > You don=E2=80=99t make any effort to help or provide constructive cri= ticism; you > > just love to (incorrectly) tell everyone what they're doing wrong and h= ow > > they should be doing it, without adding anything constructive to the > > conversation. > > > > Please limit to the arguments on the topic, not a person. > > > > The argument "Relying on the global mutable state is a bug" is complete= ly > > valid and in most of the cases is the signal of bad design. And it has = been > > already addressed in some of the functions, look at > > https://wiki.php.net/rfc/deprecations_php_8_3 for deprecations on rand > > functions. However, it's not so trivial to fix everything introducing > > compatibility-breaking changes. So it shouldn't be advised to add more = of > > such functions. > > >=20 > It still doesn't make sense. Even if we removed all the functions from my > list, the entire engine remains filled with global state. Internal > zend_class_entry instances, arginfo macros, the interned string table, > executor/compiler/scanner/each-extension globals, and so on=E2=80=94all c= ontribute > to global state -- or bugs according to you and Larry, unless your stupid > argument applies only to languages under your control. You really need to tone this langauge down. It's not the first time that=20 this has been requested of you. Ad-hominems are not welcome here. I will point out the mailing list rules once more (only): https://github.com/php/php-src/blob/master/docs/mailinglist-rules.md cheers, Derick --8323329-1712971064-1720626384=:3691--