Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:99752 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2460 invoked from network); 5 Jul 2017 03:27:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jul 2017 03:27:57 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.194 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.213.194 mail-yb0-f194.google.com Received: from [209.85.213.194] ([209.85.213.194:34413] helo=mail-yb0-f194.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 28/46-15131-BBC5C595 for ; Tue, 04 Jul 2017 23:27:56 -0400 Received: by mail-yb0-f194.google.com with SMTP id n205so4649562yba.1 for ; Tue, 04 Jul 2017 20:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=IDJRHcY6E+xfrkm+eoVldu/7OqyLQ28APexV1H7p2zA=; b=icqN/2RT187ZbzD5ajdDoKOMPryQc7cBgL/sFeGOM51losaawfJq/4SLz070iWF7uD A64OQYnJR5TbpyRI7BkQUCwebnxF8Pyft6SUye/as7ueoBE2YGwkrbsMSpt8rPQTEmgz AUNwiL2RJxcf1vnPiSdjTB329byqygoDJpxD3zmBpAiXEpDafTEMQqiySD4EAWaEmFLZ 5V2owC4KMh/MUjog1hyKfnRs+kc//yTyUnagTLgdlLf5Wb9xiHLLIhkxfVRa8Ij1irWW ZT/Yds6mZbEfvWP2uvkRtGBlnEkk0M1Tb9MSRXXJBLfdmYmlPqfkLxzIEoEtf47bTAtC mksg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IDJRHcY6E+xfrkm+eoVldu/7OqyLQ28APexV1H7p2zA=; b=ZQAytYCwysQx5n5sEozcFJec9/ym14vfGzQ30oyz2nuaHDVYEWxYQry1TexKkBbo6E gd54vY++ZO5Nu7BAjZARsgCt3h3DEUOGwO5Xpv0RgiGi6YpiIlK1aPMrSDeBnoZ1MXkA c0Cq0IhKuPrJ5n3VP2ifTy1lmJlzXeL3jiMzRS7M5OsqDHTPhviMxSBgNX78r+eHWdWs mQ72ShLcEfr5h7X7S32fZBCNGw1pDYPNTjXuMEOyUql5JETAh1EgeEmZKGH/1X6xffIy th+nKn2Z6gOpYJJWsCKLR975BOopuCIjJmoyiy5aQilqbxvJFWHuZHKSWPCw5lrj6pal TLWQ== X-Gm-Message-State: AIVw1114VvNphuU49NrRKpZFLgIcDJ5hOwI6lHi5SpCBbVXbvFfeQvi7 KCfAzCE2flIv1HNc1E0= X-Received: by 10.37.176.138 with SMTP id f10mr10189885ybj.55.1499225273048; Tue, 04 Jul 2017 20:27:53 -0700 (PDT) Received: from Stas-Air.lan (108-233-206-104.lightspeed.sntcca.sbcglobal.net. [108.233.206.104]) by smtp.gmail.com with ESMTPSA id q184sm2719130ywf.36.2017.07.04.20.27.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Jul 2017 20:27:52 -0700 (PDT) To: tyson andre , "internals@lists.php.net" References: Message-ID: <0cc11913-31a9-634b-1c4a-ef0d20871a03@gmail.com> Date: Tue, 4 Jul 2017 20:27:51 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Exposing object handles to userland From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > - Can two objects can have the same object id > but different object handlers? > (e.g. iterators of some built in classes?) > I'm not familiar enough with PHP's history to be sure. Yes, if extension using non-standard handlers is in use. > - Can the the largest object handle be larger > than the size of `zend_long` in 32-bit systems? Handle is uint32_t, so probably no. -- Stas Malyshev smalyshev@gmail.com