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