]> granicus.if.org Git - php/commitdiff
- tweak test case to better trigger the (now-fixed) reference bugs
authorJoe Orton <jorton@php.net>
Wed, 9 Jul 2008 08:29:55 +0000 (08:29 +0000)
committerJoe Orton <jorton@php.net>
Wed, 9 Jul 2008 08:29:55 +0000 (08:29 +0000)
ext/date/tests/015.phpt

index a82aa0c094f8253579c46a33cd86636dc6eccf4b..a83b645bac59ac73b8e1481928465b1cff5c7244 100644 (file)
@@ -10,10 +10,13 @@ var_dump($tzold->getName());
 $dto->setTimezone(new DateTimeZone('US/Eastern'));
 var_dump($tzold->getName());
 var_dump($dto->getTimezone()->getName());
+unset($dto);
+var_dump($tzold->getName());
 echo "Done\n";
 ?>
 --EXPECTF--
 unicode(3) "UTC"
 unicode(3) "UTC"
 unicode(10) "US/Eastern"
+unicode(3) "UTC"
 Done