projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
psis -> psi.d
[m6w6/ext-psi]
/
tests
/
time
/
time002.phpt
diff --git
a/tests/time/time002.phpt
b/tests/time/time002.phpt
index 6e091e09d4db87478fc536ed11f2cc9b1a7f6c0d..3ae78509908b65ca4b84a28b0902ca29393e6227 100644
(file)
--- a/
tests/time/time002.phpt
+++ b/
tests/time/time002.phpt
@@
-7,18
+7,24
@@
extension_loaded("psi") or die("skip - need ext/psi");
--ENV--
TZ=UTC
--INI--
--ENV--
TZ=UTC
--INI--
-psi.directory = {PWD}
+psi.directory = {PWD}
/../../psi.d:{PWD}
--FILE--
===TEST===
<?php
var_dump(psi\asctime(NULL));
--FILE--
===TEST===
<?php
var_dump(psi\asctime(NULL));
+var_dump(psi\asctime_r(NULL));
var_dump(psi\asctime(psi\gmtime(1234567890)));
var_dump(psi\asctime(psi\gmtime(1234567890)));
+var_dump(psi\asctime_r(psi\gmtime_r(1234567890)));
?>
===DONE===
--EXPECT--
===TEST===
string(25) "Sun Jan 0 00:00:00 1900
"
?>
===DONE===
--EXPECT--
===TEST===
string(25) "Sun Jan 0 00:00:00 1900
"
+string(25) "Sun Jan 0 00:00:00 1900
+"
+string(25) "Fri Feb 13 23:31:30 2009
+"
string(25) "Fri Feb 13 23:31:30 2009
"
===DONE===
string(25) "Fri Feb 13 23:31:30 2009
"
===DONE===