cvs: php-src(PHP_5_3) /ext/date/tests 015.phpt
| From: | Joe Orton | Date: | Wed, 09 Jul 2008 08:37:29 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/date/tests 015.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-50943@lists.php.net to get a copy of this message | ||
jorton Wed Jul 9 08:37:29 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/date/tests 015.phpt
Log:
- MFH: tweak test case to better trigger the (now-fixed) reference bugs
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/015.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/date/tests/015.phpt
diff -u php-src/ext/date/tests/015.phpt:1.1.2.2 php-src/ext/date/tests/015.phpt:1.1.2.3
--- php-src/ext/date/tests/015.phpt:1.1.2.2 Tue Jul 8 17:41:51 2008
+++ php-src/ext/date/tests/015.phpt Wed Jul 9 08:37:29 2008
@@ -10,10 +10,13 @@
$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