Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123298 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 7F3421A009C for ; Fri, 10 May 2024 14:32:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1715351614; bh=pHerNu0Ax5896Oat0Rf9rRpEmNjnpS2BMcpAftUjNq8=; h=In-Reply-To:References:Date:From:To:Subject:From; b=D/QkKviAhIFSoUVpB0tCwls7vicJTA8a4L5OlQ4/iFHiMvHIBd51dhwwEab2Vlgc7 rqAiS53mYWLT5sNjEULLhSR//bH84Lsvh9eLiZXwmvasSVTWxWmLwZD07ISQ/Hswb3 UZMBAxMpJurTFt1FSuHRuTBHhkWGO2rrcji5caQIxRztfkUyFVdz5tPInmV4pNM0az IiI6VmUuM6HZCuz9O+H2gh3jFf7INxPbVvDwjmKvlmrQhNsbpjnDPdxL0NV8By5S8Y 2XfdurJIRjtl6IJ8OWM4yXaw5OCFbwdYWyv+p2o6cBDWWOkQsK/2uywLWVccMFoWuv VxAyqwK5oqIgA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A944F18006D for ; Fri, 10 May 2024 14:33:33 +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_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) 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 ; Fri, 10 May 2024 14:33:33 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfout.nyi.internal (Postfix) with ESMTP id 3102F138209A for ; Fri, 10 May 2024 10:32:43 -0400 (EDT) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Fri, 10 May 2024 10:32:43 -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=1715351563; x= 1715437963; bh=625lTDc7N5qMzJlra08yhO1KyVWwJcAo7S2RTctoEmU=; b=S CEgtCR+LxAJIWbj20F0lJ8NvoIpQ+t4DL2wTDkDLOeYSJ9fwF2Mmb0CZehZDxw0O ZOZpFQtB0kGjEQHc6OAnQe0y0dapownx8bxze3+GzjDpXja0YCS7wk4s7vvOHTbY 9F9kqIp+uuB4HTOgEOJNGNP+KhyvdHWrb2aTrY8iBF8R4Aisre1vVQhZejtn1GL8 ubU5WtxGzDiZrig4ZAxkCQamDekBeFZhVm3rzlTpROOkQfgLzW691Y6OMTyvcJak +mF7A8hPAGl0QwGjvMke0VJcYhnCGRP8mjB+CVjV4bmt++KqpfDxWzSMSW9Hqi7L Yai5EfCBUBx1CgycsCgOA== 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=1715351563; x=1715437963; bh=625lTDc7N5qMzJlra08yhO1KyVWw JcAo7S2RTctoEmU=; b=PfWkKHfgUUoYmJDoxL/aN96N5oytTrnneh8+6eerUDLN /K7zwJ00dv6kimVR8mgS91jBMe7CbcF+BAAivifz5YFgKdwbmsdW/v0iwTvJ3NQS HHDPl5MVA1jZDt0MemmglF0I8C7gay0GGBJZ37T1QQOvimZ/mA9Yo174KoJGxcUV J9pIzy8nxl9VdJjc5mo08yrmy4Nwnr3TK1dlgKtQERfP1/Xz5mwP6jCFC7GzqzH4 rBaWs3GulrNhYzuQRggkJHsRaiwi18CqXWtUpDfMZ8AW5KJA4xonC+sTqZeUHPg9 P89s3YqFUr/XhBouK9DfkzGu84RdC5O0mGXx/ipm1A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdefkedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeevheehvdevjeelvdevgfelvefftdejkeelvdekgeeh fffgiedvjefhhfeltdduteenucffohhmrghinhepphhhphdrnhgvthenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlrghrrhihsehgrghrfhhi vghlughtvggthhdrtghomh X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id C2CF91700093; Fri, 10 May 2024 10:32:42 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-443-g0dc955c2a-fm-20240507.001-g0dc955c2 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Message-ID: In-Reply-To: References: Date: Fri, 10 May 2024 14:31:21 +0000 To: "php internals" Subject: Re: [PHP-DEV] Re: [RFC] [Discussion] Add openStream() to XML{Reader,Writer} Content-Type: text/plain From: larry@garfieldtech.com ("Larry Garfield") On Fri, May 10, 2024, at 2:03 PM, Niels Dossche wrote: > On 22/04/2024 20:41, 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 > > Hi internals > > It's been over two weeks since I opened the discussion. > Please raise any last concerns now. > I'd like to start voting next week Monday. > > Kind regards > Niels Please include some examples of what a full usage would look like with the new additions. I'm not super experienced with those libraries right now, but the "create the object, THEN populate it with its data source" pattern feels very weird to me. (Though at least it's consistent now rather than as it was before, thanks.) --Larry Garfield