projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
flush
[m6w6/ext-psi]
/
tests
/
time
/
time002.phpt
diff --git
a/tests/time/time002.phpt
b/tests/time/time002.phpt
index 6e091e09d4db87478fc536ed11f2cc9b1a7f6c0d..2bf43228078c5f7069f29a966b9b299dd2923659 100644
(file)
--- a/
tests/time/time002.phpt
+++ b/
tests/time/time002.phpt
@@
-12,13
+12,19
@@
psi.directory = {PWD}
===TEST===
<?php
var_dump(psi\asctime(NULL));
===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===