Re: svn: /phpdoc/en/trunk/reference/spl/functions/ spl-object-hash.xml

From: Date: Thu, 21 Jan 2010 23:09:04 +0000
Subject: Re: svn: /phpdoc/en/trunk/reference/spl/functions/ spl-object-hash.xml
References: 1  Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5910@lists.php.net to get a copy of this message
On Thu, Jan 21, 2010 at 23:58, Daniel Egeberg <degeberg@php.net> wrote: > degeberg                                 Thu, 21 Jan 2010 22:58:08 +0000 > > Revision: > http://svn.php.net/viewvc?view=revision&revision=293824 > > Log: > Fixed bug #50817 (Dangerously vague documentation for spl_object_hash()) > > Bug: http://bugs.php.net/50817 (Open) Dangerously vague > documentation for spl_object_hash() > > Changed paths: >    U   phpdoc/en/trunk/reference/spl/functions/spl-object-hash.xml > > Modified: phpdoc/en/trunk/reference/spl/functions/spl-object-hash.xml > =================================================================== > --- phpdoc/en/trunk/reference/spl/functions/spl-object-hash.xml 2010-01-21 20:34:14 UTC (rev > 293823) > +++ phpdoc/en/trunk/reference/spl/functions/spl-object-hash.xml 2010-01-21 22:58:08 UTC (rev > 293824) > @@ -38,8 +38,8 @@ >  <refsect1 role="returnvalues"> >   &reftitle.returnvalues; >   <para> > -   A string that is unique for each object and is always the same for > -   the same object. > +   A string that is unique for each currently existing object and is always > +   the same for each object. >   </para> >  </refsect1> > > @@ -59,7 +59,15 @@ >    </example> >   </para> >  </refsect1> > - > + > + <refsect1 role="notes"> > +  &reftitle.notes; > +  <note> > +   <para> > +    When an object is destroyed, its hash may be reused for other objects. Are you sure this is correct? There was a lot of discussion about spl_object_hash() before 5.3, and I thought reusing hashes was one of the things that doesn't happen anymore? -Hannes

« previous php.doc.cvs (#5910) next »