svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/bug48678.phpt branches/PHP_5_4/ext/date/tests/bug48678.phpt trunk/ext/date/tests/bug48678.phpt
| From: | Derick Rethans | Date: | Tue, 06 Dec 2011 06:00:45 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_3/ext/date/tests/bug48678.phpt branches/PHP_5_4/ext/date/tests/bug48678.phpt trunk/ext/date/tests/bug48678.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-67200@lists.php.net to get a copy of this message | ||
derick Tue, 06 Dec 2011 06:00:45 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320477
Log:
- Cosmetics for test case for #48678.
Bug: https://bugs.php.net/48678 (Closed) DateInterval
segfaults when unserialising
Changed paths:
U php/php-src/branches/PHP_5_3/ext/date/tests/bug48678.phpt
U php/php-src/branches/PHP_5_4/ext/date/tests/bug48678.phpt
U php/php-src/trunk/ext/date/tests/bug48678.phpt
Modified: php/php-src/branches/PHP_5_3/ext/date/tests/bug48678.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/date/tests/bug48678.phpt 2011-12-06 05:59:24 UTC (rev 320476)
+++ php/php-src/branches/PHP_5_3/ext/date/tests/bug48678.phpt 2011-12-06 06:00:45 UTC (rev 320477)
@@ -1,8 +1,8 @@
--TEST--
-Bug #48678 DateInterval segfaults when unserialising
+Bug #48678: DateInterval segfaults when unserialising
--FILE--
<?php
-$x = new dateinterval("P3Y6M4DT12H30M5S");
+$x = new DateInterval("P3Y6M4DT12H30M5S");
print_r($x);
$y = unserialize(serialize($x));
print_r($y);
Modified: php/php-src/branches/PHP_5_4/ext/date/tests/bug48678.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/date/tests/bug48678.phpt 2011-12-06 05:59:24 UTC (rev 320476)
+++ php/php-src/branches/PHP_5_4/ext/date/tests/bug48678.phpt 2011-12-06 06:00:45 UTC (rev 320477)
@@ -1,8 +1,8 @@
--TEST--
-Bug #48678 DateInterval segfaults when unserialising
+Bug #48678: DateInterval segfaults when unserialising
--FILE--
<?php
-$x = new dateinterval("P3Y6M4DT12H30M5S");
+$x = new DateInterval("P3Y6M4DT12H30M5S");
print_r($x);
$y = unserialize(serialize($x));
print_r($y);
Modified: php/php-src/trunk/ext/date/tests/bug48678.phpt
===================================================================
--- php/php-src/trunk/ext/date/tests/bug48678.phpt 2011-12-06 05:59:24 UTC (rev 320476)
+++ php/php-src/trunk/ext/date/tests/bug48678.phpt 2011-12-06 06:00:45 UTC (rev 320477)
@@ -1,8 +1,8 @@
--TEST--
-Bug #48678 DateInterval segfaults when unserialising
+Bug #48678: DateInterval segfaults when unserialising
--FILE--
<?php
-$x = new dateinterval("P3Y6M4DT12H30M5S");
+$x = new DateInterval("P3Y6M4DT12H30M5S");
print_r($x);
$y = unserialize(serialize($x));
print_r($y);