projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
PHP 8 compatibility
[m6w6/ext-psi]
/
tests
/
time
/
asc_gmtime001.phpt
diff --git
a/tests/time/asc_gmtime001.phpt
b/tests/time/asc_gmtime001.phpt
index 0108da0e167e8b105b590efd1c9876c075980687..23eeb12408299a674b8cf625dbc91249b09023ee 100644
(file)
--- a/
tests/time/asc_gmtime001.phpt
+++ b/
tests/time/asc_gmtime001.phpt
@@
-1,9
+1,5
@@
--TEST--
asctime/gmtime
--TEST--
asctime/gmtime
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip - need ext/psi");
-?>
--ENV--
TZ=UTC
--INI--
--ENV--
TZ=UTC
--INI--
@@
-23,7
+19,7
@@
var_dump(psi\asctime_r(psi\gmtime_r(1234567890)));
===DONE===
--EXPECT--
===TEST===
===DONE===
--EXPECT--
===TEST===
-psi\asctime()
expects parameter 1 to b
e array, null given
+psi\asctime()
: Argument #1 ($tm) must be of typ
e array, null given
array(9) {
["tm_sec"]=>
int(1)
array(9) {
["tm_sec"]=>
int(1)