6e091e09d4db87478fc536ed11f2cc9b1a7f6c0d
[m6w6/ext-psi] / tests / time / time002.phpt
1 --TEST--
2 asctime/gmtime
3 --SKIPIF--
4 <?php
5 extension_loaded("psi") or die("skip - need ext/psi");
6 ?>
7 --ENV--
8 TZ=UTC
9 --INI--
10 psi.directory = {PWD}
11 --FILE--
12 ===TEST===
13 <?php
14 var_dump(psi\asctime(NULL));
15 var_dump(psi\asctime(psi\gmtime(1234567890)));
16 ?>
17 ===DONE===
18 --EXPECT--
19 ===TEST===
20 string(25) "Sun Jan 0 00:00:00 1900
21 "
22 string(25) "Fri Feb 13 23:31:30 2009
23 "
24 ===DONE===