Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31334 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47859 invoked by uid 1010); 31 Jul 2007 08:17:48 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 47844 invoked from network); 31 Jul 2007 08:17:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Jul 2007 08:17:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=planetbeing@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=planetbeing@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.182.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: planetbeing@gmail.com X-Host-Fingerprint: 64.233.182.191 nf-out-0910.google.com Received: from [64.233.182.191] ([64.233.182.191:20024] helo=nf-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 79/11-29186-A20FEA64 for ; Tue, 31 Jul 2007 04:17:48 -0400 Received: by nf-out-0910.google.com with SMTP id e27so200603nfd for ; Tue, 31 Jul 2007 01:17:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=cELnMZJhmqAkwqOZJbQnRHFqGJ0NRu0JmUOhB6D8WAIjYaYLheQ+C9d5BDOlKyw1wJkO+TAioi3bBowJyMnZGFwrB4BKkCR5INCkMRTFM15rFdG4CD114K4CifhStNibkiVlDsH/Z7oVmo2TBT43AzujocCM6DYtFRoJHR9T9nY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LfZtrbY6w0k5Bt/Y3/+JXTfFg6rXqiU+GY1azE7YjUhYjZ6+RpUMJ9v9Z4xQX5Tic2uDaL4lmHWpButAJ9pobyJBZelopQBSNWbZ5jlM6EbhM2Sb80+qdYM98hLIYh9cy4l+LMoa3kewsu3uJcypGPvH7eZ7/xBL917OgQ+/6Pg= Received: by 10.78.56.19 with SMTP id e19mr1711802hua.1185869863366; Tue, 31 Jul 2007 01:17:43 -0700 (PDT) Received: by 10.78.135.4 with HTTP; Tue, 31 Jul 2007 01:17:43 -0700 (PDT) Message-ID: Date: Tue, 31 Jul 2007 01:17:43 -0700 To: "Bruno Lustosa" Cc: internals@lists.php.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <468519DC.8060502@widescreen.ch> <4685785E.5010709@zend.com> <585221804.20070701154538@marcus-boerger.de> <1259100072.20070730203433@marcus-boerger.de> Subject: Re: [PHP-DEV] toString() and Object #ID From: planetbeing@gmail.com ("David Wang") > Do you think there's an easy and clean approaching to solve this kind > of problem? Or maybe the problem should be solved on array_diff() and > other functions to make them not try to cast the object as a string to > compare? If use array_udiff with a comparison function that compares the spl_object_hash of the two operands, you should have your old behavior back. David