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.
This commit is contained in:
15
stubs/qary.php
Normal file
15
stubs/qary.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?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;
|
||||
Reference in New Issue
Block a user