Re: PHP7 Homework for everyone reading this list

From: Date: Thu, 22 Jan 2015 22:02:56 +0000
Subject: Re: PHP7 Homework for everyone reading this list
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Thu, Jan 22, 2015 at 7:32 PM, Levi Morrison <[email protected]> wrote:

> > I had to quarantine a couple of tests in Doctrine and PHPUnit as they
> both
> > depend on the re-usage of the hashes returned by spl_object_hash(), which
> > shouldn't actually be depended upon (am I right dmitry?).
>
> I'm not Dmitry, but I am fairly certain you should not rely on hashes
> being reused.
>

The test in Doctrine is not about hashes being reused, but about testing
hashes are not reused. It might be written in a way where a change of the
hash is not portable though.


>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


Thread (43 messages)

« previous php.internals (#80995) next »