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
/
calc
/
calc001.phpt
diff --git
a/tests/calc/calc001.phpt
b/tests/calc/calc001.phpt
index 2b6cbb61109797e3685b783951caf183b66498fa..b903b127e5bf4fc828234d48b90ebab5be21098b 100644
(file)
--- a/
tests/calc/calc001.phpt
+++ b/
tests/calc/calc001.phpt
@@
-2,14
+2,10
@@
calc
--INI--
psi.directory={PWD}/../../psi.d:{PWD}
calc
--INI--
psi.directory={PWD}/../../psi.d:{PWD}
---SKIPIF--
-<?php
-extension_loaded("psi") or die("skip need ext/psi");
-?>
--FILE--
===TEST===
<?php
--FILE--
===TEST===
<?php
-for ($i = 0; $i <
1
0; ++$i) {
+for ($i = 0; $i <
2
0; ++$i) {
$func = "test\\calc$i";
if (function_exists($func)) {
$res = $func();
$func = "test\\calc$i";
if (function_exists($func)) {
$res = $func();