projects
/
m6w6
/
ext-psi
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
flush
[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===