1--TEST--
2DateTime constants
3--FILE--
4<?php
5
6var_dump(
7    DATE_ATOM    === DateTime::ATOM,
8    DATE_COOKIE  === DateTime::COOKIE,
9    DATE_ISO8601 === DateTime::ISO8601,
10    DATE_RFC822  === DateTime::RFC822,
11    DATE_RFC850  === DateTime::RFC850,
12    DATE_RFC1036 === DateTime::RFC1036,
13    DATE_RFC1123 === DateTime::RFC1123,
14    DATE_RFC2822 === DateTime::RFC2822,
15    DATE_RFC3339 === DateTime::RFC3339,
16    DATE_RSS     === DateTime::RSS,
17    DATE_W3C     === DateTime::W3C
18);
19
20?>
21--EXPECT--
22bool(true)
23bool(true)
24bool(true)
25bool(true)
26bool(true)
27bool(true)
28bool(true)
29bool(true)
30bool(true)
31bool(true)
32bool(true)
33