Files
namaste/stubs/qary.php
gramps 373ebc8c93 Archive: Namaste PHP AMQP framework v1.0 (2017-2020)
952 days continuous production uptime, 40k+ tp/s single node.
Original corpo Bitbucket history not included — clean archive commit.
2026-04-05 09:49:30 -07:00

16 lines
387 B
PHP

<?php
$x = [ 'id_ext' => [ 'NULLOP' => [ 'EQ' => [ '1234' ] ] ] ];
var_dump($x);
foreach ($x as $k1 => $v1) {
$attr = $k1;
foreach ($v1 as $k2 => $v2) {
foreach ($v2 as $k3 => $v3) {
// k3 should be op-eq
echo 'count(v3) = ' . count($v3) . PHP_EOL;
$value = $v3[0];
}
}
}
echo "Attribute: $attr, Value: $value" . PHP_EOL;