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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php