Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122277 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8248 invoked from network); 4 Feb 2024 06:47:21 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 4 Feb 2024 06:47:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707029292; bh=9hC8h1K7qfw+tUQMjTc6l2bk8421cK717eLWzUE7gjw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dMUGR5sjSntKYBImBJatF0jSZAsbu5WWfGjUDMbRdOY7S/w+cPFUEBU5nKEqzmFtJ XcxwIQwyIHYalDZqB0Hd+Ui2ExfUBOHmbKTtqoOAjw3WcxmXUIhseltMlbILhGNNia y7UnaO6G25kqW/ZGiahqBRVI8cJdPk69kFB7eqZUuouNO27fI7lsZuHw/jjzjf4eZJ x7BpUPqjymNG08kL8n73e76fn85h7j83EDd/kpfbvU3lymyH6aLnOEvhOoPrQFib2T g7N85WnAcXGr7Yj1pUXLloXJmQ2PU34nhseIO1zUqie1oIOyRLcPSe/VCfylorpAXZ MslOVYKNodvug== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2950618004F for ; Sat, 3 Feb 2024 22:48:08 -0800 (PST) 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_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 ; Sat, 3 Feb 2024 22:48:07 -0800 (PST) Received: by mail-ed1-f51.google.com with SMTP id 4fb4d7f45d1cf-5600d950442so1231818a12.1 for ; Sat, 03 Feb 2024 22:47:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707029235; x=1707634035; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9hC8h1K7qfw+tUQMjTc6l2bk8421cK717eLWzUE7gjw=; b=DIcxBUZtY1jVMYVrrg7g+QsFr4cCMuMOi/wV6xIjmwmc01rh73Nvv99r7RRPx5Mqv8 jGmRz58pUU09VGnEalogMpIfPD9j9zYMmjniGUeTW/2lJChAfO4Z94QE6x8ca/nZN7I3 L5FHd6pNk72u90W/nPheIen+vQOTksqTP7nyH/x/g8toxjMQUH82Xxwu/cXr5PsQJxCZ V7sG5W1FWp8WvTBwACMD9TO8URD8YYCK2sFy57bwpuUGGVa7gGpprPbdKLXXklG6QhCX zcNUHBr8f6OTwOMrcWOmg33W5zfnR30mXexLF/ZKm95xuN0ESR/GnHpn02lymAHiOMcE XP4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707029235; x=1707634035; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9hC8h1K7qfw+tUQMjTc6l2bk8421cK717eLWzUE7gjw=; b=VQ/+YpKubmc4hLy6VYWTeLlktlEzvoXMYwdANT7CzYmMz1pQF1trx1f0JaLACqBJPZ y1C71VxvVIOuaWegpQGpa6C6lnGSXBhVy4IfTwJSl3m16HtsHtoMO92ABWGvdf6LlLtw pH7O/4CWhqOaDWboZohaXghc80Xzg1IDhOtTi2FAR16li06+0wh1FESjqPhEl2EuxvDO Bj2Y/JpYDsFtjqZwN4Pyx53V/F7rf7jVnngKR8cceJrOhm6KAAr3DTLo9ylRgeN6W5cZ /EPFAmcHiZ39vFKDHI6A7V+v4aZxTarF0oTokWcjrWIypI5DplxPSU05hPuDJqXLBlhb RulQ== X-Gm-Message-State: AOJu0YyREX7sEdg3UFhKdqG9MifyuGdAJWwQYOFMP5/sm/6m9fSJxw5Y S6zFGfC89EneYXyBiWICGpV16ccPXE4yVhOeqSyYvqJWjc9b1m77eTs7HoBfPHYiGZjCp2jArZd 7wK7Uswxq3LCB2kDAUP5rPsjuQnY= X-Google-Smtp-Source: AGHT+IEKpt9GeTYGjbOUOkB1WGYqqVUx08mwnwton9DKkNM2KNI1oCtT+tDNAqE5mOAHoOxoH2YDeDU0Vk1F6x1jEn8= X-Received: by 2002:aa7:d1cf:0:b0:55f:8c5d:e560 with SMTP id g15-20020aa7d1cf000000b0055f8c5de560mr2903427edp.32.1707029235080; Sat, 03 Feb 2024 22:47:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Sun, 4 Feb 2024 07:47:03 +0100 Message-ID: To: Nicolas Grekas Cc: PHP Internals List Content-Type: multipart/alternative; boundary="0000000000002da510061088b79a" Subject: Re: [PHP-DEV] Re: [RFC] [Vote] Resource to object conversion From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --0000000000002da510061088b79a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Nicolas, - for curl - that's already supported by CurlHandle so this is seamless > - for DBA, because dba_list() works by > resourceid > - for resources created by stream_socket_server() and > stream_socket_accept() > > I only checked situations where the resource id is used as an index in an > array, there might be some others (but not a lot, if any). > > It looks like we should implement the cast to int for these resource type= s > at least. > Thank you very much for your research, this is very valuable information! Surely, we will implement the necessary code to keep supporting these use-cases. Regards, M=C3=A1t=C3=A9 --0000000000002da510061088b79a--