3v4l.org

run code in 300+ PHP versions simultaneously
<?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]); if($a[0] === $a[1]) { $diff = "true"; } else { $diff = "false"; } echo $diff; print_r($diff); print_r(array_keys($a));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kuJom
function name:  (null)
number of ops:  23
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
   54     5        FETCH_DIM_R                                      ~7      !0, 0
          6        FETCH_DIM_R                                      ~8      !0, 1
          7        IS_IDENTICAL                                             ~7, ~8
          8      > JMPZ                                                     ~9, ->11
   55     9    >   ASSIGN                                                   !1, 'true'
         10      > JMP                                                      ->12
   57    11    >   ASSIGN                                                   !1, 'false'
   60    12    >   ECHO                                                     !1
   62    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !1
         15        DO_ICALL                                                 
   64    16        INIT_FCALL                                               'print_r'
         17        INIT_FCALL                                               'array_keys'
         18        SEND_VAR                                                 !0
         19        DO_ICALL                                         $13     
         20        SEND_VAR                                                 $13
         21        DO_ICALL                                                 
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.97 ms | 1395 KiB | 17 Q