xref: /php-src/ext/standard/tests/time/idate.phpt (revision 12702a20)
1--TEST--
2idate() function
3--FILE--
4<?php
5date_default_timezone_set('GMT0');
6$tmp = "UYozymndjHGhgistwNLBIW";
7for($a = 0;$a < strlen($tmp); $a++){
8    echo $tmp[$a], ': ', idate($tmp[$a], 1043324459)."\n";
9}
10?>
11--EXPECT--
12U: 1043324459
13Y: 2003
14o: 2003
15z: 22
16y: 3
17m: 1
18n: 1
19d: 23
20j: 23
21H: 12
22G: 12
23h: 12
24g: 12
25i: 20
26s: 59
27t: 31
28w: 4
29N: 4
30L: 0
31B: 556
32I: 0
33W: 4
34