X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-pq;a=blobdiff_plain;f=travis%2Fpecl%2Fgen-matrix.php;fp=travis%2Fpecl%2Fgen-matrix.php;h=0000000000000000000000000000000000000000;hp=90e0011e555457661d1d5c9b1adca8a4ec203c62;hb=011422d5848488842bd2752f8dd6fdbb51fd884f;hpb=7dda3c7100d4c67bc7d8cc363464078c2e0cc975 diff --git a/travis/pecl/gen-matrix.php b/travis/pecl/gen-matrix.php deleted file mode 100644 index 90e0011..0000000 --- a/travis/pecl/gen-matrix.php +++ /dev/null @@ -1,26 +0,0 @@ - $values) { - if (is_numeric($key) && is_string($values)) { - $key = $values; - $values = ["no","yes"]; - } - if (empty($apc)) { - // seed - foreach ($values as $val) { - $apc[] = "$key=$val"; - } - } else { - // combine - $cpc = $apc; - $apc = []; - foreach ($values as $val) { - foreach ($cpc as $e) { - $apc[] = "$e $key=$val"; - } - } - } - } - return $apc; -};