diff options
author | Anatol Belski <ab@php.net> | 2013-06-11 08:32:54 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-06-11 08:32:54 +0200 |
commit | bd4f6ad8a0732e27db0126eaa2f10300d4845332 (patch) | |
tree | 3c3d992a74d62c3d594fdf74b36dd8f0d1185e2b | |
parent | 28e264db2a9040b71da60bc20529231255eac651 (diff) | |
download | php-git-bd4f6ad8a0732e27db0126eaa2f10300d4845332.tar.gz |
fixed EOL
-rw-r--r-- | ext/date/tests/bug53437_var4.phpt | 128 |
1 files changed, 64 insertions, 64 deletions
diff --git a/ext/date/tests/bug53437_var4.phpt b/ext/date/tests/bug53437_var4.phpt index 91dee52541..88fd81c9db 100644 --- a/ext/date/tests/bug53437_var4.phpt +++ b/ext/date/tests/bug53437_var4.phpt @@ -1,64 +1,64 @@ ---TEST--
-Bug #53437 (Check that var_dump out is the same using the whole object or it's single properties), variation 4
---INI--
-date.timezone = Europe/Berlin
---FILE--
-<?php
-$dt = new DateTime('2009-10-11');
-
-$df = $dt->diff(new DateTime('2009-10-13'));
-
-var_dump($df,
- $df->y,
- $df->m,
- $df->d,
- $df->h,
- $df->i,
- $df->s,
- $df->invert,
- $df->days);
-
-?>
-==DONE==
---EXPECTF--
-object(DateInterval)#%d (15) {
- ["y"]=>
- int(0)
- ["m"]=>
- int(0)
- ["d"]=>
- int(2)
- ["h"]=>
- int(0)
- ["i"]=>
- int(0)
- ["s"]=>
- int(0)
- ["weekday"]=>
- int(0)
- ["weekday_behavior"]=>
- int(0)
- ["first_last_day_of"]=>
- int(0)
- ["invert"]=>
- int(0)
- ["days"]=>
- int(2)
- ["special_type"]=>
- int(0)
- ["special_amount"]=>
- int(0)
- ["have_weekday_relative"]=>
- int(0)
- ["have_special_relative"]=>
- int(0)
-}
-int(0)
-int(0)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(2)
-==DONE==
+--TEST-- +Bug #53437 (Check that var_dump out is the same using the whole object or it's single properties), variation 4 +--INI-- +date.timezone = Europe/Berlin +--FILE-- +<?php +$dt = new DateTime('2009-10-11'); + +$df = $dt->diff(new DateTime('2009-10-13')); + +var_dump($df, + $df->y, + $df->m, + $df->d, + $df->h, + $df->i, + $df->s, + $df->invert, + $df->days); + +?> +==DONE== +--EXPECTF-- +object(DateInterval)#%d (15) { + ["y"]=> + int(0) + ["m"]=> + int(0) + ["d"]=> + int(2) + ["h"]=> + int(0) + ["i"]=> + int(0) + ["s"]=> + int(0) + ["weekday"]=> + int(0) + ["weekday_behavior"]=> + int(0) + ["first_last_day_of"]=> + int(0) + ["invert"]=> + int(0) + ["days"]=> + int(2) + ["special_type"]=> + int(0) + ["special_amount"]=> + int(0) + ["have_weekday_relative"]=> + int(0) + ["have_special_relative"]=> + int(0) +} +int(0) +int(0) +int(2) +int(0) +int(0) +int(0) +int(0) +int(2) +==DONE== |