Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21708 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37536 invoked by uid 1010); 27 Jan 2006 18:08:46 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37521 invoked from network); 27 Jan 2006 18:08:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jan 2006 18:08:46 -0000 X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:55233] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id C1/6E-03249-DA16AD34 for ; Fri, 27 Jan 2006 13:08:45 -0500 Received: from [192.168.1.3] (dslb-084-063-026-177.pools.arcor-ip.net [84.63.26.177]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id D789435C1BF; Fri, 27 Jan 2006 19:08:41 +0100 (CET) Date: Fri, 27 Jan 2006 19:10:50 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <15310483413.20060127191050@marcus-boerger.de> To: Jeff Moore Cc: php internals In-Reply-To: <1fa2fe9192c4d0ed1f9037abd06d6b14@procata.com> References: <1fa2fe9192c4d0ed1f9037abd06d6b14@procata.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] SplObjectStorage From: helly@php.net (Marcus Boerger) Hello Jeff, yes, it is a conainer and not a set. And it cannot take anything other than php objects. That's why. Friday, January 27, 2006, 5:37:09 PM, you wrote: > SplObjectStorage: > "This container allows to store objects uniquly without the need to > compare them one by one." > Unless I'm mistaken, in Java and Mathematics, this is called a Set. > "A collection that contains no duplicate elements." > Is there some reason not to name the class for the general concept? Is > there a reason to limit this class to object members? > Best Regards, > Jeff Moore Best regards, Marcus