<?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' => 'test',
'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]);
var_dump($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/irtff
function name: (null)
number of ops: 18
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_IDENTICAL ~5 ~3, ~4
4 ASSIGN !1, ~5
56 5 INIT_FCALL 'var_dump'
6 SEND_VAR !1
7 DO_ICALL
58 8 INIT_FCALL 'print_r'
9 SEND_VAR !1
10 DO_ICALL
60 11 INIT_FCALL 'print_r'
12 INIT_FCALL 'array_keys'
13 SEND_VAR !0
14 DO_ICALL $9
15 SEND_VAR $9
16 DO_ICALL
17 > RETURN 1
Generated using Vulcan Logic Dumper, using php 8.0.0
preferences:
153.94 ms | 1394 KiB | 19 Q