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

index 1496d1425f71ad60dc343ce2f6bd6a61d74a0893..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--
-string(3) "UTC"
-string(3) "UTC"
-string(10) "US/Eastern"
+unicode(3) "UTC"
+unicode(3) "UTC"
+unicode(10) "US/Eastern"
+unicode(3) "UTC"
 Done