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