<?php
$ClientTrans= Array (
0 => Array (
'customer_id' => 50245901,
'points' => 299
),
1 => Array (
'customer_id' => 50245907,
'points' => 3847
),
2 => Array (
'customer_id' => 50245908,
'points' => 159
),
3 => Array (
'customer_id' => 50245910,
'points' => 3175
),
4 => Array (
'customer_id' => 50245914,
'points' => 641
),
5 => Array (
'customer_id' => 50245916,
'points' => 449
),
6 => Array (
'customer_id' => 50245921,
'points' => 551
),
7 => Array (
'customer_id' => 50245927,
'points' => 0
),
8 => Array (
'customer_id' => 50245928,
'points' => 602
),
9 => Array (
'customer_id' => 50245929,
'points' => 495
),
10 => Array (
'customer_id' => 50245931,
'points' => 539
),
11 => Array (
'customer_id' => 50245941,
'points' => 0
),
12 => Array (
'customer_id' => 50245901,
'points' => 124
),
13 => Array (
'customer_id' => 50245901,
'points' => 512
)
);
$ClientList = array();
foreach ($ClientTrans as $order => $value) {
$ClientList[$value['customer_id']]['customer_id'] = $value['customer_id'];
}
$ClientList = array_values($ClientList);
print_r($ClientList);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 3, Position 2 = 11
Branch analysis from position: 3
2 jumps found. (Code = 78) Position 1 = 4, Position 2 = 11
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename: /in/f7Bfn
function name: (null)
number of ops: 20
compiled vars: !0 = $ClientTrans, !1 = $ClientList, !2 = $value, !3 = $order
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
62 1 ASSIGN !1, <array>
64 2 > FE_RESET_R $6 !0, ->11
3 > > FE_FETCH_R ~7 $6, !2, ->11
4 > ASSIGN !3, ~7
65 5 FETCH_DIM_R ~9 !2, 'customer_id'
6 FETCH_DIM_R ~12 !2, 'customer_id'
7 FETCH_DIM_W $10 !1, ~9
8 ASSIGN_DIM $10, 'customer_id'
9 OP_DATA ~12
64 10 > JMP ->3
11 > FE_FREE $6
68 12 INIT_FCALL 'array_values'
13 SEND_VAR !1
14 DO_ICALL $13
15 ASSIGN !1, $13
70 16 INIT_FCALL 'print_r'
17 SEND_VAR !1
18 DO_ICALL
19 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
133.89 ms | 1000 KiB | 15 Q