Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30372 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37840 invoked by uid 1010); 29 Jun 2007 23:36:05 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 37822 invoked from network); 29 Jun 2007 23:36:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2007 23:36:04 -0000 Authentication-Results: pb1.pair.com header.from=judas.iscariote@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=judas.iscariote@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.232 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: judas.iscariote@gmail.com X-Host-Fingerprint: 64.233.162.232 nz-out-0506.google.com Received: from [64.233.162.232] ([64.233.162.232:2489] helo=nz-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2E/C9-44149-26795864 for ; Fri, 29 Jun 2007 19:36:04 -0400 Received: by nz-out-0506.google.com with SMTP id i1so560613nzh for ; Fri, 29 Jun 2007 16:35:58 -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:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gluyeZgbdmEpWOESkfZZJBOW2jPhc4I4Nvt+px3f5ZSlSR3lU5QVkk5qjLKLHQ5SCRWRajwfdjRZHY8f5ZYU0iiB+rgyBQ5iynyDz6dQEeQIVWMSZO5YhCkmw0HwL5Bigac+l2rjR6LWj46Sz7n8leSzTukESKu3dYrEwoDyrSw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=R6TcvAiZ9/M0WzapCNw+FiaAamDFRPx3egIa9fXs+jEL6TjxeAyVWAMbmopnCVp9Z26W5x1ia0UDkf9WmC801DbsJrvIebixMaVVe1lfD8etbGHrV4BVa2gfDNYAyZyDzNkyAn7voIB4E5DGBXWPl7L4laOYxYqNCHHupGXFckw= Received: by 10.142.103.6 with SMTP id a6mr215309wfc.1183160157432; Fri, 29 Jun 2007 16:35:57 -0700 (PDT) Received: by 10.142.84.16 with HTTP; Fri, 29 Jun 2007 16:35:57 -0700 (PDT) Message-ID: <7d5a202f0706291635u3e1bcac6t29860d6926c93092@mail.gmail.com> Date: Fri, 29 Jun 2007 19:35:57 -0400 To: internals@lists.php.net In-Reply-To: <468519DC.8060502@widescreen.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <468519DC.8060502@widescreen.ch> Subject: Re: [PHP-DEV] toString() and Object #ID From: judas.iscariote@gmail.com ("Cristian Rodriguez") On 6/29/07, Lars Schultz wrote: > Hi there > > I just tried to switch from 5.1 to 5.2.3 and got thrown off right away by: > "Object of class MyObject could not be converted to string" > > I googled a bit and also read any Messages in the internals list but > couldn't find a decisive answer as to wether this will stay this way or not. > > > In the "PHP 5 Bug Summary Report" I found Bug # 40799 > "change string conversion behaviour for objects not implementing > __toString()" > > which is still open. I don't want to complain or anything but I'd like > to know wether it's feasible to wait for a change in this current, > modified, behaviour or if it's going to stay this way. The old beahviuor was absolute non-sense.. > always helpful). Is there any other way than casting an object to a > string to get an objects #ID? > use var_dump() or spl_object_hash for that.