<?php
$a = array (
0 =>
array (
'name' => 'test',
'address_1' => 'test',
'address_2' => '',
'address_3' => '',
'address_4' => '',
'postcode' => 'test',
'country' => '1',
'tel' => '123566',
),
1 =>
array (
'name' => 'test1wefrwerferf',
'address_1' => 'test',
'address_2' => '',
'address_3' => '',
'address_4' => '',
'postcode' => 'test',
'country' => '1',
'tel' => '123566',
),
2 =>
array (
'name' => 'test',
'address_1' => 'test',
'address_2' => '',
'address_3' => '',
'address_4' => '',
'postcode' => 'test',
'country' => '1',
'tel' => '123566',
),
3 =>
array (
'name' => 'test',
'address_1' => 'test',
'address_2' => '',
'address_3' => '',
'address_4' => '',
'postcode' => 'test',
'country' => '1',
'tel' => '123566',
),
);
// $acount = array_count_values($a);
$diff = ($a[0] == $a[1]);
echo $diff;
print_r($diff);
print_r(array_keys($a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename: /in/PpQ42
function name: (null)
number of ops: 16
compiled vars: !0 = $a, !1 = $diff
line #* E I O op fetch ext return operands
-------------------------------------------------------------------------------------
3 0 E > ASSIGN !0, <array>
52 1 FETCH_DIM_R ~3 !0, 0
2 FETCH_DIM_R ~4 !0, 1
3 IS_EQUAL ~5 ~3, ~4
4 ASSIGN !1, ~5
55 5 ECHO !1
57 6 INIT_FCALL 'print_r'
7 SEND_VAR !1
8 DO_ICALL
59 9 INIT_FCALL 'print_r'
10 INIT_FCALL 'array_keys'
11 SEND_VAR !0
12 DO_ICALL $8
13 SEND_VAR $8
14 DO_ICALL
15 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
150.38 ms | 1385 KiB | 17 Q