diff --git a/www/admin/class_test.array.php b/www/admin/class_test.array.php
index 9424889b..38f39220 100644
--- a/www/admin/class_test.array.php
+++ b/www/admin/class_test.array.php
@@ -342,38 +342,6 @@ print "(ksort): " . DgS::printAr(ArrayHandler::ksortArray($nested)) . "
";
print "
";
-$search_array = [
- 'table_lookup' => [
- 'match' => [
- ['param' => 'access_d_cd', 'data' => 'a_cd', 'time_validation' => 'on_load',],
- ['param' => 'other_block', 'data' => 'b_cd'],
- ['pflaume' => 'other_block', 'data' => 'c_cd'],
- ['param' => 'third_block', 'data' => 'd_cd', 'time_validation' => 'cool'],
- ['special' => 'other_block', 'data' => 'e_cd', 'time_validation' => 'other'],
- ]
- ]
-];
-print "Search: " . DgS::printAr($search_array) . "
";
-print "Result (all): " . Dgs::printAr(ArrayHandler::findArraysMissingKey(
- $search_array,
- 'other_block',
- 'time_validation'
-)) . "
";
-print "Result (key): " . Dgs::printAr(ArrayHandler::findArraysMissingKey(
- $search_array,
- 'other_block',
- 'time_validation',
- 'pflaume'
-)) . "
";
-print "Result (key): " . Dgs::printAr(ArrayHandler::findArraysMissingKey(
- $search_array,
- 'other_block',
- ['data', 'time_validation'],
- 'pflaume'
-)) . "
";
-
-print "
";
-
$search_array = [
'a' => [
'lookup' => 1,
@@ -528,6 +496,45 @@ $result = ArrayHandler::selectArrayFromOption(
);
print "*2*Result: " . DgS::printAr($result) . "
";
+print "
";
+
+$search_array = [
+ 'table_lookup' => [
+ 'match' => [
+ ['param' => 'access_d_cd', 'data' => 'a_cd', 'time_validation' => 'on_load',],
+ ['param' => 'other_block', 'data' => 'b_cd'],
+ ['pflaume' => 'other_block', 'data' => 'c_cd'],
+ ['param' => 'third_block', 'data' => 'd_cd', 'time_validation' => 'cool'],
+ ['special' => 'other_block', 'data' => 'e_cd', 'time_validation' => 'other'],
+ ]
+ ]
+];
+print "Search: " . DgS::printAr($search_array) . "
";
+print "Result (all, search single): " . DgS::printAr(ArrayHandler::findArraysMissingKey(
+ $search_array,
+ 'other_block',
+ 'time_validation'
+)) . "
";
+print "Result (key limit): " . DgS::printAr(ArrayHandler::findArraysMissingKey(
+ $search_array,
+ 'other_block',
+ 'time_validation',
+ 'pflaume'
+)) . "
";
+print "Result (all, search array): " . DgS::printAr(ArrayHandler::findArraysMissingKey(
+ $search_array,
+ 'other_block',
+ ['data', 'time_validation'],
+)) . "
";
+print "Result (key limit, search array): " . DgS::printAr(ArrayHandler::findArraysMissingKey(
+ $search_array,
+ 'other_block',
+ ['data', 'time_validation'],
+ 'pflaume'
+)) . "
";
+
+print "
";
+
print "