Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123169 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 8BD241A009C for ; Mon, 22 Apr 2024 19:54:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1713815697; bh=WAbkNEmhS2iCI7KwmWyXYfPbcessVb3hOdbegGeq3V4=; h=In-Reply-To:References:Date:From:To:Subject:From; b=Yaf5rXIDt9+7smpJAhLnnHvW0Q8lgpSg5SaaRUlCDDbyUIO5KnfIvt/36COJMB5y7 jyRvJgVNplqZPeTODiUVvK36xoIkbkoHcErgbc9qgtRHCFr2vkT/6v7zYubC/BeWls dtIUdpiGDWjdv+a6NExVcsZkBDuRACakGr3M2wAr7FLTTtuhoRPqE2AnD4eY71GF5T fxJQqgKqBzr7TllQs0dAFO3bLAZWgfWHup8EVvzsljUCFRJWd1Dm6tJO4dv/CooDWf ux9S9p11LDD7Q1p3ToMLjyNvZOsWEXugxBxoFzyrRtYEeeshVQ1+mdJ7CbAzjY9x9+ LOjVBT0+QefYQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C93F3180069 for ; Mon, 22 Apr 2024 19:54:56 +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=-0.1 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from fout8-smtp.messagingengine.com (fout8-smtp.messagingengine.com [103.168.172.151]) (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 ; Mon, 22 Apr 2024 19:54:56 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 41CE71380179 for ; Mon, 22 Apr 2024 15:54:16 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Mon, 22 Apr 2024 15:54:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1713815656; x= 1713902056; bh=blaBCf5BuTYZc3XX0fo6OwS+/qi7MBvCAIvVcRNkDaM=; b=p 2CJu9SE17fJr8PAJMF/Sh6m8Lb+rlPez9nVra9m3wGoy+lUxodpXc27hC+DfhL3T 8XhmP2a5AKCYUKaedOmkOWZxtyX/m335ZNl3TfXZk04HD1HwVCr+BYh7VqvDUWXy 6oHEcmBoJDxERllW3N7BUknDvsAFeIJdDLoA07CKt1QrVtL9a/jL77jq3yl0Um6z E7Dko7Ns5hyKF/ijZgSZbHsWpua6xvU/xkiS6pUawVtAB8IpIIJogUJioq4Zr9c4 FissLKaaAQKHBuXbkKfaX/J5SfqVFga4wTUoRMUzQdrzbEpM7fPunTWrOoQwqHR8 0PyeRPFMwC/4h+xmTrr4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1713815656; x=1713902056; bh=blaBCf5BuTYZc3XX0fo6OwS+/qi7 MBvCAIvVcRNkDaM=; b=dIBqMo0/0Quysi+gaKLTFYWEPWwnJ8JRi6M88nT0odrW a8TxfXmE1vkqtDsKoZUQ0viTEX0K4YVBLwZPUG3ybdcM/vGpUyyIGrDQoWF579wS 389LohjABRE4S5CtC7xNruNSJW1Luv7RMUUFhSGvUm6GHYkK0E9AOVy6sBKuJBw7 PXjObeke8mA8V/TOUQFXX3jVnCDMtAhD5uNtbw7rtdPwyLslRESJB7D87rYibZcc t90oTwOoS8u5q912dffR0Ix5HqTeNZwzhwP30Eu4x8e85xNKKNQDvkmlMAwojM8I 9azrO9mO/ZH1zruWTG74E/viiAxJxeJ3LvCUngWVpw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrudekledgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvufgtsehttdertderredtnecuhfhrohhmpedfnfgr rhhrhicuifgrrhhfihgvlhgufdcuoehlrghrrhihsehgrghrfhhivghlughtvggthhdrtg homheqnecuggftrfgrthhtvghrnhepveehhedvveejledvvefgleevffdtjeekledvkeeg heffgfeivdejhffhledtudetnecuffhomhgrihhnpehphhhprdhnvghtnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgrrhhrhiesghgrrhhf ihgvlhguthgvtghhrdgtohhm X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id ECE3B1700093; Mon, 22 Apr 2024 15:54:15 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-386-g4cb8e397f9-fm-20240415.001-g4cb8e397 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: <056a0e77-688e-40a9-86de-0bf71548c933@app.fastmail.com> In-Reply-To: References: Date: Mon, 22 Apr 2024 19:53:54 +0000 To: "php internals" Subject: Re: [PHP-DEV] [RFC] [Discussion] Add openStream() to XML{Reader,Writer} Content-Type: text/plain From: larry@garfieldtech.com ("Larry Garfield") On Mon, Apr 22, 2024, at 6:41 PM, Niels Dossche wrote: > Hi internals > > I'm opening the discussion for my RFC "Add openStream() to XML{Reader,Writer}". > RFC link: https://wiki.php.net/rfc/xmlreader_writer_streams > > Kind regards > Niels This seems quite reasonable to me overall. My one question is regarding the writer version. Why is that not a static method, too? I would have expected that to be a "named constructor" just like the reader. --Larry Garfield